External Interfaces/API    

Compiler and Platform-Specific Issues

This section refers to situations specific to particular compilers and platforms.

MEX-Files Created in Watcom IDE

If you use the Watcom IDE to create MEX-files and get unresolved references to API functions when linking against our libraries, check the argument passing convention. The Watcom IDE uses a default switch that passes parameters in registers. MATLAB requires that you pass parameters on the stack.


  Understanding MEX-File Problems Memory Management Compatibility Issues