How to start Matlab profiler

后端 未结 2 464
轮回少年
轮回少年 2021-02-14 05:09

I switched to Matlab 2012b (from 2011a), but fail to find out how to start the profiler gui in the new matlab gui.

相关标签:
2条回答
  • 2021-02-14 05:47

    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?

    0 讨论(0)
  • 2021-02-14 05:48

    The GUI option is still there, in the editor tab:

    enter image description here

    You will be able to specify input parameters once the function has crashed ;)

    0 讨论(0)
提交回复
热议问题