Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!j33g2000cwa.googlegroups.com!not-for-mail
From: "David Mackenzie" <david.mackenzie@sinusmess.de>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Names of Variables stored in other variables
Date: 3 Apr 2006 01:30:36 -0700
Organization: http://groups.google.com
Lines: 8
Message-ID: <1144053036.883707.117220@j33g2000cwa.googlegroups.com>
References: <1144045550.765666.176890@u72g2000cwu.googlegroups.com>
NNTP-Posting-Host: 84.185.207.177
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1144053044 30076 127.0.0.1 (3 Apr 2006 08:30:44 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 3 Apr 2006 08:30:44 +0000 (UTC)
In-Reply-To: <ef2f2da.0@webx.raydaftYaTP>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 tux.sinus:3128 (Squid/2.2.STABLE5)
Complaints-To: groups-abuse@google.com
Injection-Info: j33g2000cwa.googlegroups.com; posting-host=84.185.207.177;
Xref: news.mathworks.com comp.soft-sys.matlab:342205



Caroline is right.  You might want to consider changing your
application to make use of MATLAB structures - their fields can be
accessed dynamically by name (see "Programming and Data Types:
Structures and Cell Arrays: Accessing Data in Structure Arrays" in the
MATLAB help).

David