The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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$>...
> 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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.