How can I use dll (writed in C++) in matlab?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
nick
am 22 Nov. 2016
Beantwortet: Edric Ellis
am 29 Nov. 2016
Hi all, I have to use CUDA to execute phase retrieval algorithm. How can I use dll (writed in C++) in matlab?
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 29 Nov. 2016
If you have the Parallel Computing Toolbox, then see https://www.mathworks.com/help/distcomp/parallel.gpu.cudakernel.html
0 Kommentare
Weitere Antworten (2)
Hildo
am 29 Nov. 2016
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.
0 Kommentare
Edric Ellis
am 29 Nov. 2016
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.
0 Kommentare
Siehe auch
Kategorien
Mehr zu GPU Computing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!