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 ]
Nasser Abbasi

Posts: 6,253
Registered: 2/7/05
Re: change the name
Posted: Dec 11, 2012 9:06 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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.


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

[Privacy Policy] [Terms of Use]

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