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 CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by