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: How to pass a parameter into a GUI program?
Replies: 3   Last Post: Jun 16, 2011 7:26 PM

Advanced Search

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

Posts: 19
Registered: 12/18/04
Re: How to pass a parameter into a GUI program?
Posted: Jun 16, 2011 7:26 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Ben Schoepke" wrote in message <gqb23m$mv7$1@fred.mathworks.com>...
> I know this is an old thread but I just ran into this problem and found an easy fix...
> Pass any string/char arguments inside a cell array. So for example to pass a string argument 'hello world' to a GUIDE figure called "myfig", you would do this:
> myfig({'Hello world'})
> instead of myfig('Hello world'), which gives the warning.

Thanks a lot for taking the time to respond, just ran into the same problem!

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.