How can I use dll (writed in C++) in matlab?
Mostrar comentarios más antiguos
Hi all, I have to use CUDA to execute phase retrieval algorithm. How can I use dll (writed in C++) in matlab?
Respuesta aceptada
Más respuestas (2)
Hildo
el 29 de Nov. de 2016
0 votos
Try this https://www.mathworks.com/help/matlab/matlab_external/calling-functions-in-shared-libraries.html. The language that the DLL was written is not important.
Edric Ellis
el 29 de Nov. de 2016
0 votos
Further to Walter's suggestion (which might entail some modifications to fit in with the CUDAKernel API), you can also access the GPU directly from a C++ MEX file by following the steps in the documentation.
Categorías
Más información sobre GPU Computing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!