Re: S-Function and DLL MEX-File



> The def file goes with the mexFunction or MEXFUNCTION dll. According to the
> link error you're producing a static library???

Ehm... no, I'd like to produce a dynamic library (DLL)...

> Go back to the beginning where you got the corrupt file problem and just don't
> list the .mod in your compilation of the C function.

Now it works. Are we sure that the modules have to be not linked with
the other files? Will the program run properly?

Thanks a lot for your time and your patience.

Best regards,

Marco Polloni

.