Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: change the name
Replies: 3   Last Post: Dec 11, 2012 9:50 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Debora

Posts: 26
Registered: 10/25/12
Re: change the name
Posted: Dec 11, 2012 9:36 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Il giorno martedì 11 dicembre 2012 15:06:17 UTC+1, Nasser M. Abbasi ha scritto:
> On 12/11/2012 8:01 AM, Debora wrote:
>

> > how do I change the name of an array? for example, if in my array I have NAME_1,
>
> >NAME_2, how do I change it in the name 1, name 2?
>
> >
>
>
>
> name1= NAME_1
>
> name2= NAME_2
>
>
>
> now the names are changed.
>
>
>
> You can do
>
>
>
> clear NAME_1
>
> clear NAME_2
>
>
>
> if you like after that but Matlab GC will take care of these
>
> so not really needed.
>
>
>
> --Nasser


but as my names are always changing I can not use a loop that I change them automatically?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.