Path: news.mathworks.com!not-for-mail
From: "Hardik Virani" <Hardik.Virani@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Automating variable naming
Date: Thu, 11 Dec 2008 14:38:52 -0500
Organization: The MathWorks, Inc.
Lines: 22
Message-ID: <ghrq8c$fvb$1@fred.mathworks.com>
References: <ghrppm$6ua$1@fred.mathworks.com>
Reply-To: "Hardik Virani" <Hardik.Virani@mathworks.com>
NNTP-Posting-Host: viranih.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1229024332 16363 144.212.109.85 (11 Dec 2008 19:38:52 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 11 Dec 2008 19:38:52 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Xref: news.mathworks.com comp.soft-sys.matlab:506412


Try

doc genvarname

-Hardik

"Blair " <bgoodridge@bren.ucsb.edu> wrote in message 
news:ghrppm$6ua$1@fred.mathworks.com...
> 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.
>
> 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.
>
> Thanks for the assistance!