profiling mex using gprof in windows

2 views (last 30 days)
Jim Hokanson
Jim Hokanson on 19 May 2016
Answered: Todd Leonhardt on 20 May 2016
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?

Answers (1)

Todd Leonhardt
Todd Leonhardt on 20 May 2016
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

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!