MATLAB Answers

profiling mex using gprof in windows

6 ビュー (過去 30 日間)
Jim Hokanson
Jim Hokanson 2016 年 5 月 19 日
回答済み: Todd Leonhardt 2016 年 5 月 20 日
I'm using TDM-GCC to compile a C mex program in Windows. I'd like to profile it using gprof or really any program that will profile line by line. Anyone have any suggestions as to how to do this?

回答 (1 件)

Todd Leonhardt
Todd Leonhardt 2016 年 5 月 20 日
This article explains how to profile MEX functions in Visual Studio on Windows: http://www.mathworks.com/help/matlab/matlab_external/debugging-on-microsoft-windows-platforms.html

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by