Filter löschen
Filter löschen

Cells break disappear - Why?

1 Ansicht (letzte 30 Tage)
Cillian
Cillian am 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

Antworten (1)

Adam Filion
Adam Filion am 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 Kommentar
per isakson
per isakson am 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by