Cells break disappear - Why?

1 回表示 (過去 30 日間)
Cillian
Cillian 2012 年 6 月 29 日
Hello.
Sometimes when I have my code in different cells breaks, the cells breaks suddenly disappear, and I have no clue why? The cells breaks is gone even that my "%%" is left in my code. This happens every time I close the MATLAB program.
Can somebody help me to figure out why it is cells breaks disappear for me? It's very annoying.
Please, help me. Cillian

回答 (1 件)

Adam Filion
Adam Filion 2012 年 6 月 29 日
Hi Cillian, I've had this happen a few times when MATLAB detects a syntax error in my code, usually a missing ). I think the code parser gets confused by the invalid syntax. Fixing the error always brought the cell break back. I'm not sure if this is the only thing that can cause it though.
  1 件のコメント
per isakson
per isakson 2012 年 8 月 31 日
Adam is probably right. The Code Analyzer box in the upper right corner of the editor, is it red? It must not be red.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by