필터 지우기
필터 지우기

Profiling mex in Windows

조회 수: 8 (최근 30일)
Jim Hokanson
Jim Hokanson 2016년 4월 5일
편집: Ryan Povall 2016년 4월 8일
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

채택된 답변

Ryan Povall
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개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by