mex.h does not include config.h

John W. Eaton jwe at octave.org
Mon May 25 14:30:21 CDT 2009


On 25-May-2009, Kris Thielemans wrote:

| Error messages are the same (of course) when including Matrix.h. So, this
| might then be a bug in Matrix.h?

No, Octave's Matrix.h is not intended to be the same as Matlab's
matrix.h.  If you are writing pure MEX files, then you shouldn't need
Octave's Matrix.h, and I don't think you need to include matrix.h,
even for Matlab.

But maybe because of this kind of confusion we will rename or remove
Octave's Matrix.h in some future version of Octave.

jwe


More information about the Bug-octave mailing list