Troubleshoot MEX Files
Functions
Topics
Debug on Microsoft Windows Platforms
This example shows how to debug a MEX file with Microsoft®Visual Studio®.
This example shows how to debug a MEX file on Mac Platforms.
This example shows how to debug a MEX file on Linux®Platforms.
Debug Fortran Source MEX-Files
Debugging MEX-file source code from MATLAB®软件
What to do when you get an invalid MEX file error.
To help diagnose compiler set up and build errors, call the mex function with verbose option -v.
What to do when compiling a MEX file fails.
Symbol mexFunction Unresolved or Not Defined
Every MEX file needs a mexFunction.
What to do when a MEX file causes a segmentation violation or assertion.
MEX File Generates Incorrect Results
What to do when your MEX generates wrong answers.
If you get a binary MEX file from another source, be sure that the file was compiled for the same platform on which you want to run it.
For best results, run MEX files built with your MATLAB version.
Troubleshooting and Limitations Compiling C/C++ MEX Files with MinGW-w64
Troubleshooting MEX files built with the MinGW-w64 compiler.
MATLAB supports MEX files written in Fortran 77.
Rules for managing mxArray memory.
SDK "macosx10.8" cannot be located Error Message
Error message running a MEX file on Mac platforms.