How do I check memory allocation to debug my MEX-file?
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!