Profiling mex in Windows
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jim Hokanson
le 5 Avr 2016
Modifié(e) : Ryan Povall
le 8 Avr 2016
What are my options if I'd like to profile a mex file in Windows. I'm open to trying a specific compiler/workflow.
Thanks, Jim
0 commentaires
Réponse acceptée
Ryan Povall
le 8 Avr 2016
Modifié(e) : Ryan Povall
le 8 Avr 2016
It seems like you can profile MEX files using Visual Studio. From the menu, go to the "Analyze"-> "Profiler" -> "Attach/Detach" and attach the MATLAB.exe process. After which, you can run the MEX function and detach the process when complete.
Make sure when building the MEX file using the "mex" command, to include the -g and -O flags.
More information can be found from the following post:
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Debugging and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!