I switched to Matlab 2012b (from 2011a), but fail to find out how to start the profiler gui in the new matlab gui.
Use the Profiler to track execution time. Knowing the execution time of your MATLAB® code helps you to debug and optimize it. For information on the user interface to the Profiler, see Profiler. profile action profiles the execution time for functions.
Click the Run button. MATLAB runs the function using the first run command in the list. For example, click Run to run myfunction using the command result = myfunction(1:10,5) . MATLAB displays the result in the Command Window.
The GUI option is still there, in the editor tab:
You will be able to specify input parameters once the function has crashed ;)
AFAIK, this should still work:
profile viewer
while we're at it, these tweaks should still work, too:
profile -memory on
setpref('profiler', 'showJitLines', true);
I don't have the opportunity to check, but you mean to say that R2012 doesn't have the little button on the top anymore?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With