MATLAB Debugger no longer showing line numbers

隐身守侯 提交于 2019-12-02 07:40:14

问题


I'm not entirely sure how, but my copy of MATLAB R2013b has stopped showing which line my errors occur at.

I'll just get errors like:

Subscripted assignment dimension mismatch.

But no line number to go along with it, so I have no idea which part of my code is causing the problem!

Did I mess up a setting somewhere?


回答1:


Enable line numbering in the editor with Preferences -> Editor/Debugger -> Display -> Show line numbers

When running code segments (for example, using Ctrl+Enter with the Windows default key bindings), line numbers will not be displayed. You can see the line on which the error is caused by directly running the script or calling the function in which it occurs.



来源:https://stackoverflow.com/questions/23091523/matlab-debugger-no-longer-showing-line-numbers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!