Cells break disappear - Why?

4 vues (au cours des 30 derniers jours)
Cillian
Cillian le 29 Juin 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

Réponses (1)

Adam Filion
Adam Filion le 29 Juin 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 commentaire
per isakson
per isakson le 31 Août 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by