MATLAB调试器不再显示行号 [英] MATLAB Debugger no longer showing line numbers
问题描述
我会得到如下错误:
下标的分配维度不匹配。
但是没有行号可以跟随,所以我不知道我的代码的哪一部分导致了这个问题!
我在某个地方搞砸了一个设置? p>
使用首选项 - >编辑器/调试器 - >显示 - >显示行号
$ b在编辑器中启用行号$ b
运行代码段(例如,使用Ctrl + Enter与Windows默认键绑定)时,行号不会显示。您可以看到直接运行脚本或调用其发生的函数导致错误的行。
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?
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.
这篇关于MATLAB调试器不再显示行号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!