<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251430</link>
    <title>MATLAB Central Newsreader - Cell identifier...</title>
    <description>Feed for thread: Cell identifier...</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Fri, 15 May 2009 01:46:02 -0400</pubDate>
      <title>Cell identifier...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251430#650028</link>
      <author>Oleg </author>
      <description>Hi All,&lt;br&gt;
&lt;br&gt;
I'm learning Matlab, and have few questions:&lt;br&gt;
&lt;br&gt;
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.&lt;br&gt;
&lt;br&gt;
2. Will %% work in txt files created outside Matlab and saved as .m files?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Oleg</description>
    </item>
    <item>
      <pubDate>Fri, 15 May 2009 20:38:01 -0400</pubDate>
      <title>Re: Cell identifier...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251430#650269</link>
      <author>Matthew Simoneau</author>
      <description>&quot;%%&quot; is simply text.  It should work in the Editor with all files that end with a &quot;.m&quot; extension, regardless of how old they are or what application created them.  If you're creating them in another application, just be sure the extension is correct.</description>
    </item>
    <item>
      <pubDate>Sat, 16 May 2009 02:23:02 -0400</pubDate>
      <title>Re: Cell identifier...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251430#650306</link>
      <author>Jiro Doke</author>
      <description>&quot;Oleg &quot; &amp;lt;olugovoy@hotmail.com&amp;gt; wrote in message &amp;lt;guihgp$q6h$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi All,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I'm learning Matlab, and have few questions:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 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.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; 2. Will %% work in txt files created outside Matlab and saved as .m files?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Oleg&lt;br&gt;
&lt;br&gt;
Make sure that your m-file doesn't have any syntax errors. Run m-lint on the file:&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; help mlint&lt;br&gt;
&lt;br&gt;
Or if you have m-lint turned on the editor, check to see if the color of it (on the right edge of the editor window) is red. If it is, then there's a syntax error. In the newer releases of MATLAB, if you have a syntax error in your m-file, you won't be able to create new cells.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/brqxeeu-259.html#brqxeeu-282&quot;&gt;http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/brqxeeu-259.html#brqxeeu-282&lt;/a&gt;</description>
    </item>
    <item>
      <pubDate>Mon, 24 May 2010 14:35:23 -0400</pubDate>
      <title>Re: Cell identifier...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251430#748246</link>
      <author>Morten </author>
      <description>Hi Oleg&lt;br&gt;
&lt;br&gt;
I have the same problem, the cell identifier '%%' doesn't work in all my m-files even though cell mode is active and there is no syntax errors. The problem can be solved by simply creating a new m-file and copy/pasting the content of the 'old' file into the new. This workaround works but it is quite annoying having to do this...&lt;br&gt;
&lt;br&gt;
Morten</description>
    </item>
  </channel>
</rss>

