by OndraKamenik » Thu Sep 27, 2007 8:10 pm
Tim,
the gensylv module is used for Sylvester equation, which is only needed in the second order.
If Matlab whines about an invalid mex-file, then probably the Matlab dynamic loader couldn't load the dll. There might be quite a few reasons for this. A very different version of Matlab, or a confusion of paths and different versions of Matlab on one machine, or you miss some library (other dll) which gensylv.dll is linked to (or the version of a library to which gensylv.dll is linked to is not compatible). I created gensylv module, and I am sure (provided that the library was linked properly by Michel), that it should depend only on standard Win32 libraries and then on lapack/blas from Matlab distribution. Try to use DependecyWalker (google and download) on gensylv.dll and see if you miss any dependencies. Try to fix any confusion in windows PATHs if multiple versions of Matlab on one machine. And, try to compile and link the library on your own for your Matlab environment.
regards,
Ondra K.