How to disable "Cannot enable breakpoint(s) because of syntax error"
18 ビュー (過去 30 日間)
古いコメントを表示
How can I let MATLAB not complain about syntax error while saving a file? This is extremely annoying and counterproductive. It can complain on run-time, but I do not see the benefit of complaining while saving a file.
For example, I was writing a code of if-statement and saved the file before typing "end", as I always save frequently to avoid losing the code. MATLAB immediately moved my cursor to a random line (beginning of some for loop way above) which it thinks it was the cause of the problem. This is obviously annoying as I need to locate again the line that I was editing. I do not see any good reason to check the syntax error while saving the file. It is also inconsistent that this problem happens when ONLY when there's a breakpoint.
This is a really counterproductive and intrusive "feature" of MATLAB. If there's no option disable it, please remove this feature or give it at least an option to disable in the next release. Thanks.
1 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Files and Folders についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!