How to turn off cell mode in Matlab editor in 2012b?
Afficher commentaires plus anciens
Hi everyone,
I have just installed R2012b. This is used to be a simple thing to do. But now I have already spent half an hour looking for the documentation but I still don't know how to turn off cell mode in Matlab editor.
Anyone knows how to do that.
Also how come Matlab HELP does not have a chapter (or session) on the editor.
Kevin
Réponse acceptée
Plus de réponses (2)
Sean de Wolski
le 17 Sep 2012
8 votes
Kevin, you can go to "Preferences" -> "Colors" -> "Programming Tools" and turn off "Highlight Sections". This should essentially do the same thing as disabling cell mode.
Ken Atwell
le 16 Sep 2012
0 votes
I believe section/cell mode is triggered by a double "%%" comment in a source file. If you change your "%%"'s into "%"'s, I believe MATLAB will not enter the section/cell mode.
Kevin, just interested... why do you want to disable section/cell mode? AFAIK, there is no side effects of MATLAB entering "cell mode" beyond the enablement of new "Run" capabilities that don't stomp on anything else. Why would you actively turn it off when it can be ignored? Is there is a side effect I don't appreciate?
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!