<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263329</link>
    <title>MATLAB Central Newsreader - Name of m-file currently being edited (not run)</title>
    <description>Feed for thread: Name of m-file currently being edited (not run)</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, 16 Oct 2009 16:07:50 -0400</pubDate>
      <title>Name of m-file currently being edited (not run)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263329#687602</link>
      <author>ImageAnalyst</author>
      <description>Does anyone know how to detect what the filename of the m-file that&lt;br&gt;
currently has focus in the editor?  (It's not mfilename - that's only&lt;br&gt;
the name of the currently RUNNING file.)  What I would like to do is&lt;br&gt;
to have a shortcut button on my toolbar that changes to the folder&lt;br&gt;
containing this m-file when I click on that shortcut button.  I think&lt;br&gt;
this would be easier than to find the folder in the history drop down&lt;br&gt;
list of 20 different Current Folders, and way easier than having to&lt;br&gt;
browse to the folder via the &quot;...&quot; button.  I could be wrong, but I&lt;br&gt;
bet it's not a standard thing and it will probably have to be a Yair&lt;br&gt;
Altman undocumented hack (&lt;a href=&quot;http://undocumentedmatlab.com/#)&quot;&gt;http://undocumentedmatlab.com/#)&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Currently, if I have 10 different m-files open in the editor and I&lt;br&gt;
click on one, then I need to do the extra step of changing the current&lt;br&gt;
folder to the folder containing that file.  I'd like to simplify that&lt;br&gt;
step.</description>
    </item>
    <item>
      <pubDate>Mon, 19 Oct 2009 18:09:02 -0400</pubDate>
      <title>Re: Name of m-file currently being edited (not run)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/263329#688176</link>
      <author>Yair Altman</author>
      <description>ImageAnalyst &amp;lt;imageanalyst@mailinator.com&amp;gt; wrote in message &amp;lt;a07292bf-2896-4c96-9127-5af7788c524f@g19g2000yqo.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; Does anyone know how to detect what the filename of the m-file that&lt;br&gt;
&amp;gt; currently has focus in the editor?  (It's not mfilename - that's only&lt;br&gt;
&amp;gt; the name of the currently RUNNING file.)  What I would like to do is&lt;br&gt;
&amp;gt; to have a shortcut button on my toolbar that changes to the folder&lt;br&gt;
&amp;gt; containing this m-file when I click on that shortcut button.  I think&lt;br&gt;
&amp;gt; this would be easier than to find the folder in the history drop down&lt;br&gt;
&amp;gt; list of 20 different Current Folders, and way easier than having to&lt;br&gt;
&amp;gt; browse to the folder via the &quot;...&quot; button.  I could be wrong, but I&lt;br&gt;
&amp;gt; bet it's not a standard thing and it will probably have to be a Yair&lt;br&gt;
&amp;gt; Altman undocumented hack (&lt;a href=&quot;http://undocumentedmatlab.com/#)&quot;&gt;http://undocumentedmatlab.com/#)&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Currently, if I have 10 different m-files open in the editor and I&lt;br&gt;
&amp;gt; click on one, then I need to do the extra step of changing the current&lt;br&gt;
&amp;gt; folder to the folder containing that file.  I'd like to simplify that&lt;br&gt;
&amp;gt; step.&lt;br&gt;
&lt;br&gt;
Of course: &lt;a href=&quot;http://undocumentedmatlab.com/blog/accessing-the-matlab-editor/&quot;&gt;http://undocumentedmatlab.com/blog/accessing-the-matlab-editor/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
You might also consider assigning a keyboard shortcut to this action, using my EditorMacro utility: &lt;a href=&quot;http://undocumentedmatlab.com/?s=EditorMacro&quot;&gt;http://undocumentedmatlab.com/?s=EditorMacro&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Yair Altman&lt;br&gt;
&lt;a href=&quot;http://UndocumentedMatlab.com&quot;&gt;http://UndocumentedMatlab.com&lt;/a&gt; &lt;br&gt;
&amp;nbsp;</description>
    </item>
  </channel>
</rss>

