Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Cell identifier...
Date: Fri, 15 May 2009 01:46:02 +0000 (UTC)
Organization: Environmental Defense Fund
Lines: 10
Message-ID: <guihgp$q6h$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1242351962 26833 172.30.248.37 (15 May 2009 01:46:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 15 May 2009 01:46:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1383999
Xref: news.mathworks.com comp.soft-sys.matlab:540099


Hi All,

I'm learning Matlab, and have few questions:

1. Why cell identifier '%%' doesn't work in all my m-files? If I start new file and put %% - it works. But in my old files when I'm trying to separate code with cells - it doesn't work. I have cells mode ON, and checked all the preferences - it should work. And even if I copy my old codes to new file - cells doesn't work again. I'm depressed.

2. Will %% work in txt files created outside Matlab and saved as .m files?

Thanks,
Oleg