开发者

Matlab: quickly finding lines with missing semicolons [duplicate]

This question already has answers here: 开发者_运维知识库 Closed 11 years ago.

Possible Duplicate:

Is there a way to fix all MATLAB mlint messages at once?

If one forgets to place a semicolon at the end of a line, Matlab just prints the output of that line to the screen. If one has hundreds of lines of code, it may be very difficult to locate which lines are missing a semi-colon, and one may end up with spurious output polluting the screen.

Is there a way to locate the lines missing a semicolon quickly?


These two might be of some use to you:
Is there a way to fix all MATLAB mlint messages at once?
Finding Errors, Debugging, and Correcting MATLAB Files

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜