[Pkg-octave-devel] Dynare: git, matlab, testsuite

Sébastien Villemot sebastien.villemot at ens.fr
Sun May 31 22:07:09 UTC 2009


Le lundi 25 mai 2009 à 15:37 -0400, John W. Eaton a écrit :
> Do you actually need to?  I've built MEX files on a system without
> Octave or Matlab, and then run the resulting MEX file with both Octave
> and Matlab.  I think all you really need is a mex.h header file that
> provides the declarations of the functions you will need.  The mxArray
> object can be treated as a purely opaque object because all actions
> that you can perform on an mxArray object are done via functions that 
> take pointers to mxArray objects, so you can declare mxArray as void.

I tried to compile a MEX file without giving any library name to the
linker (only creating a dynamic object). This indeed works for Octave.
But it makes MATLAB crash on my computer.

-- 
Sébastien Villemot





More information about the Pkg-octave-devel mailing list