From: "French Caro" <caro95470@free.fr>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webx
Newsgroups: comp.soft-sys.matlab
Subject: Re: Names of Variables stored in other variables
Message-ID: <ef2f2da.0@webx.raydaftYaTP>
Date: Mon, 3 Apr 2006 04:35:17 -0400
References: <1144045550.765666.176890@u72g2000cwu.googlegroups.com>
Lines: 11
NNTP-Posting-Host: 194.250.98.243
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:342204



Hi,
>
> Can i get to the values stored in MyVar using only the "a"
> variable?
>
Yes you can but it is not recommended :
help eval
example :
value2 = eval([a,'(2)']);

Caroline