Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: problem with the cell mode
Date: Wed, 27 May 2009 18:23:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 19
Message-ID: <gvk0e5$qua$1@fred.mathworks.com>
References: <go97r1$djp$1@fred.mathworks.com> <gvi3i2$jcu$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1243448581 27594 172.30.248.35 (27 May 2009 18:23:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 27 May 2009 18:23:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1855748
Xref: news.mathworks.com comp.soft-sys.matlab:542997


Well, I apologize for adding to the noise, but I fixed my particular problem.  I had a syntax error in my m file and this caused all of the cell demarcations to disappear.

Hopefully your problem is as easily fixed as mine, Pinpress.

"Dan Knudsen" <neurodude@gmail.com> wrote in message <gvi3i2$jcu$1@fred.mathworks.com>...
> Not sure if this has since been answered elsewhere, but I couldn't find it.
> 
> I'm having the exact same problem using 2009a.
> 
> Any help would be greatly appreciated.
> 
> -Dan
> 
> "Pinpress" <nospam__@yahoo.com> wrote in message <go97r1$djp$1@fred.mathworks.com>...
> > Hi all,
> > 
> > Anyone has experienced the same thing that I have? I have a few matlab files opened in the Editor with Cell Mode on. However, some of my .m files shows correctly with cell partitions (each section can be executed separated and are separated by "%%"). However, other .m files does not show correctly with cell mode (the entire file shows only one color even with cell separation, and can only be executed as a whole). Switching on and off the cell mode does not help. I had to create a new file and copy paste the code and save to the original file name (replace). This time cell mode shows correctly.  
> > 
> > This must be a bug of some sort? It's 2008b.