MATLAB Compiler | ![]() ![]() |
MEX-Files
The -W mex -L C
options produce the MEX-file wrapper, which includes the mexFunction
interface that is standard to all MATLAB plug-ins. For more information about the requirements of the mex
interface, see External Interfaces/API in the MATLAB documentation.
In addition to declaring globals and initializing the feval
function table, the MEX-file wrapper function includes interface and definition functions for all M-files not included into the set of compiled files. These functions are implemented as callbacks to MATLAB.
![]() | Generating Files | Main Files | ![]() |