How do I check memory allocation to debug my MEX-file?
Show older comments
After I create a C-MEX file, every time I run the compiled code, MATLAB becomes very unstable. For example, I tried running the command "profile on" after running the MEX-file and received an 'Assertion detected' error. Alternatively, my MEX-file may produce a segmentation violation at run-time. I would like to check memory allocation in order to try debugging these issues.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!