Debugging Generated MEX Code - MATLAB & Simulink (original) (raw)

Main Content

Before generating C/C++ code or an accelerated MEX function, check for compliance issues in your MATLAB® code by generating and running a MEX function. To learn how to troubleshoot common errors, see Check for Issues in MATLAB Code Using MEX Functions.

In addition, follow these best practices to debug MEX functions:

See Also

codegen | coder.ceval

Topics