How can I debug MEX files without a Visual Studio license?
Afficher commentaires plus anciens
I already used up a trial license and need to learn how some MEX C++ code is being executed. It doesn't seem worth it to pay for Visual Studio so I can debug MATLAB code. Are there instructions to use eclipse or another opensource method?
MATLAB version 9.4, 2018a
2 commentaires
OCDER
le 17 Juil 2018
I'm not aware of anything else. You could just do what I do without VB - stare very closely at each line of code, work out what it does in the head, and place mexPrintf statements at checkpoints to see what's going on... Definitely challenges you to memorize and predict C++ behavior, as errors are costly. Maybe there's a better free way - I'll keep an eye on this post to see what the other's do.
Daniel Poiesz
le 17 Juil 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Call C/C++ MEX Functions from MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!