Click to See Complete Forum and Search --> : Passing a C function, routine or programme for use in Matlab


WeeBeng
August 28th, 2001, 10:22 PM
I have written this programme to generate a series a random numbers. I wish to pass this most probably as a library for use in Matlab. Is there any examples on how to do this?

sqrly
January 16th, 2002, 03:28 PM
Did you find an answer to this? I would like to do the samething.


Thanks,
-d

WeeBeng
January 20th, 2002, 04:15 AM
I did not manage to find a whole C function, but found something on interfacing with matlab, using C, then u could pass whatever data generated using matrices to matlab.
u can dl an example at this site.

ftp://ftp.mathworks.com/pub/tech-support/solutions/s24783
Alternatively checkout your matlab help on interfacing with C.

Hope this helps.