Pass huge amount of data from DLL to Matlab

Pass huge amount of data from DLL to Matlab

Post by Pascal Ste » Sat, 21 Oct 2006 20:08:36


Hi Community

I want to write a DLL in C which passes a huge amount of data to its
caller Matlab.
If the caller were a C-Program, I just would would return a pointer to
the memory.
But how do I solve this problem in Matlab?

Thanks...
Pascal
 
 
 

Pass huge amount of data from DLL to Matlab

Post by Michael Wi » Sat, 21 Oct 2006 22:05:47


mxCreateDoubleMatrix
mxCreateNumericArray

mxGetPr


will bring you on the right track.


michael