Profiling mex in Windows
5 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Ryan Povall
2016 年 4 月 8 日
編集済み: Ryan Povall
2016 年 4 月 8 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Debugging and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!