When you call a MEX function, pass it the same inputs that you
use for the original MATLAB® algorithm. Do not pass
any of the
to a MEX function. You can use these classes with only the
To run a MEX function generated by MATLAB Coder™, you must have licenses for all the toolboxes that the MEX function requires. For example, if you generate a MEX function from a MATLAB algorithm that uses a Computer Vision Toolbox™ function or System object™, to run the MEX function, you must have a Computer Vision Toolbox license.
When you upgrade MATLAB, before running MEX functions with the new version, rebuild the MEX functions.
To debug your MEX functions, use the
to inspect the contents of your MEX function variables. You cannot
save to debug MEX function variables because
code generation does not support it. Code generation does not support
save as extrinsic.