Cells break disappear - Why?

2 views (last 30 days)
Cillian
Cillian on 29 Jun 2012
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

Answers (1)

Adam Filion
Adam Filion on 29 Jun 2012
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 Comment
per isakson
per isakson on 31 Aug 2012
Adam is probably right. The Code Analyzer box in the upper right corner of the editor, is it red? It must not be red.

Sign in to comment.

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!