Call C from MATLAB - MATLAB & Simulink (original) (raw)
Limitations to Shared Library Support
C language features not supported.
Rules for using C language structures in a shared library.
Errors occur when the shared library is not a valid library.
This error occurs when you call a function without the correct input or output arguments, or if there is an error in the function signature in the header file.
MATLAB Terminates Unexpectedly When Calling Function in Shared Library
Some shared libraries, compiled as Microsoft® Windows® 32-bit libraries, use a calling convention that is incompatible with the default MATLAB calling convention.