Hi Marcel, all,
Marcel Zwiers wrote:
> As mentioned, we have no experience with compiling
> c-code into mex-files so unfortunately we cannot test it. Does anyone
> know how to do this?
There is a nice looking guide to mex files here:
http://cnx.org/content/m12348/latest/
in short, if you're just editing an existing mex file (which hence
already follows the necessary function naming/argument conventions)
then you should just be able to type
mex yourfile.c
at the Matlab prompt in order to compile the new .mex file ("help mex"
has more info).
Best of luck,
Ged.
|