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: Using variables in 'prompt' strings
Replies: 5   Last Post: Aug 22, 2013 10:57 AM

Advanced Search

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

Posts: 8
Registered: 4/25/13
Re: Using variables in 'prompt' strings
Posted: Aug 22, 2013 9:13 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Ok never mind, problem solved! Thank you anyway dpb.

I use sprintf:
for i=1:10
str=sprintf('this is box number %d\n',i);

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

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.