[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

On 25-May-2009, Sébastien Villemot wrote:

| For the MEX functions, we have no way of linking against the Matlab  
| library from pure Debian.

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.

But maybe there is some detail that I'm missing.


Reply to: