<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240871</link>
    <title>MATLAB Central Newsreader - Automating variable naming</title>
    <description>Feed for thread: Automating variable naming</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>Thu, 11 Dec 2008 19:31:02 -0500</pubDate>
      <title>Automating variable naming</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240871#616475</link>
      <author>Blair </author>
      <description>I'm trying to find a method to give unique names to workspace variables without having to manually do this in the workspace.  I have a function which looks up Excel file names and puts them into a cell array.  I'd like to use those unique file names to label the variable (matrix) that the larger function outputs, so that I can just automate processing and loop through.  I'm taking Excel files, reading them and their filenames, doing slight manipulation/cleaning up, and then outputting in matlab.&lt;br&gt;
&lt;br&gt;
I know this is a basic question, but it's frustrating that I'm unable to find the answer to this seemingly simple issue anywhere.&lt;br&gt;
&lt;br&gt;
Thanks for the assistance!</description>
    </item>
    <item>
      <pubDate>Thu, 11 Dec 2008 19:38:52 -0500</pubDate>
      <title>Re: Automating variable naming</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240871#616477</link>
      <author>Hardik Virani</author>
      <description>Try&lt;br&gt;
&lt;br&gt;
doc genvarname&lt;br&gt;
&lt;br&gt;
-Hardik&lt;br&gt;
&lt;br&gt;
&quot;Blair &quot; &amp;lt;bgoodridge@bren.ucsb.edu&amp;gt; wrote in message &lt;br&gt;
news:ghrppm$6ua$1@fred.mathworks.com...&lt;br&gt;
&amp;gt; I'm trying to find a method to give unique names to workspace variables &lt;br&gt;
&amp;gt; without having to manually do this in the workspace.  I have a function &lt;br&gt;
&amp;gt; which looks up Excel file names and puts them into a cell array.  I'd like &lt;br&gt;
&amp;gt; to use those unique file names to label the variable (matrix) that the &lt;br&gt;
&amp;gt; larger function outputs, so that I can just automate processing and loop &lt;br&gt;
&amp;gt; through.  I'm taking Excel files, reading them and their filenames, doing &lt;br&gt;
&amp;gt; slight manipulation/cleaning up, and then outputting in matlab.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I know this is a basic question, but it's frustrating that I'm unable to &lt;br&gt;
&amp;gt; find the answer to this seemingly simple issue anywhere.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks for the assistance! </description>
    </item>
    <item>
      <pubDate>Thu, 11 Dec 2008 19:45:05 -0500</pubDate>
      <title>Re: Automating variable naming</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240871#616480</link>
      <author>Andres </author>
      <description>&quot;Blair &quot; &amp;lt;bgoodridge@bren.ucsb.edu&amp;gt; wrote in message &amp;lt;ghrppm$6ua$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I'm trying to find a method to give unique names to workspace variables without having to manually do this in the workspace.  I have a function which looks up Excel file names and puts them into a cell array.  I'd like to use those unique file names to label the variable (matrix) that the larger function outputs, so that I can just automate processing and loop through.  I'm taking Excel files, reading them and their filenames, doing slight manipulation/cleaning up, and then outputting in matlab.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I know this is a basic question, but it's frustrating that I'm unable to find the answer to this seemingly simple issue anywhere.&lt;br&gt;
&lt;br&gt;
one after the other:&lt;br&gt;
fileparts&lt;br&gt;
genvarname&lt;br&gt;
assignin&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
Andres</description>
    </item>
    <item>
      <pubDate>Thu, 11 Dec 2008 19:52:02 -0500</pubDate>
      <title>Re: Automating variable naming</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240871#616481</link>
      <author>matt dash</author>
      <description>&quot;Blair &quot; &amp;lt;bgoodridge@bren.ucsb.edu&amp;gt; wrote in message &amp;lt;ghrppm$6ua$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I'm trying to find a method to give unique names to workspace variables without having to manually do this in the workspace.  I have a function which looks up Excel file names and puts them into a cell array.  I'd like to use those unique file names to label the variable (matrix) that the larger function outputs, so that I can just automate processing and loop through.  I'm taking Excel files, reading them and their filenames, doing slight manipulation/cleaning up, and then outputting in matlab.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I know this is a basic question, but it's frustrating that I'm unable to find the answer to this seemingly simple issue anywhere.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks for the assistance!&lt;br&gt;
&lt;br&gt;
Check out the function genvarname. Though I'm afraid to actually use the names it comes up with you'll have to use eval. </description>
    </item>
    <item>
      <pubDate>Thu, 11 Dec 2008 20:42:02 -0500</pubDate>
      <title>Re: Automating variable naming</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/240871#616489</link>
      <author>Blair </author>
      <description>Got it, thanks all for the help!&lt;br&gt;
&lt;br&gt;
&quot;Blair &quot; &amp;lt;bgoodridge@bren.ucsb.edu&amp;gt; wrote in message &amp;lt;ghrppm$6ua$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I'm trying to find a method to give unique names to workspace variables without having to manually do this in the workspace.  I have a function which looks up Excel file names and puts them into a cell array.  I'd like to use those unique file names to label the variable (matrix) that the larger function outputs, so that I can just automate processing and loop through.  I'm taking Excel files, reading them and their filenames, doing slight manipulation/cleaning up, and then outputting in matlab.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I know this is a basic question, but it's frustrating that I'm unable to find the answer to this seemingly simple issue anywhere.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks for the assistance!</description>
    </item>
  </channel>
</rss>

