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: Unable to use save command with a variable
Replies: 3   Last Post: Jun 4, 2013 1:01 PM

Advanced Search

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

Posts: 20
Registered: 12/7/10
Re: Unable to use save command with a variable
Posted: Jun 4, 2013 12:29 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


> Is # an allowable character in a filename?

The filenames were actually more like DS2CM123, I just used that as a place holder when typing up this request!

I figured it out though,

I just needed to use char, when grabbing the string,

making the code look like


name=textdata(c,1);
savefile=char(name);

save (savefile)

Thank you for the help though! :)



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.