How can I use dll (writed in C++) in matlab?

Hi all, I have to use CUDA to execute phase retrieval algorithm. How can I use dll (writed in C++) in matlab?

Più risposte (2)

Edric Ellis
Edric Ellis il 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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by