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: GUI to exe problem
Replies: 6   Last Post: Mar 21, 2013 6:33 PM

Advanced Search

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

Posts: 5
Registered: 11/5/12
Re: GUI to exe problem
Posted: Mar 21, 2013 6:33 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Steven_Lord" <slord@mathworks.com> wrote in message <kifsq9$rcr$1@newscl01ah.mathworks.com>...
>
>
> "Jan " <urbanecjan@gmail.com> wrote in message
> news:kifqop$kq1$1@newscl01ah.mathworks.com...

> > "Steven_Lord" <slord@mathworks.com> wrote in message
> > <kif1ob$mo6$1@newscl01ah.mathworks.com>...

>
> *snip*
>

> > Thanks, I am a bit closer to what I need. Problem still is, that I need to
> > choose one parameter in first radio button group and in second radio
> > button group I need to use those parameters for various simulations
> > (depending what you choose in 2nd group) . Procedure you described works
> > only if I load data under one of the 2nd button group and process them in
> > the same function.

>
> So you need to share data between the callback functions in your GUI? See
> the two Data Management sections in the Concepts portion of this
> documentation page:
>
> http://www.mathworks.com/help/matlab/code-to-run-the-gui.html
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

Well, thanks. Finally I got it.
all I need is to use handles.
So my scrtip should looks like

handles.data = load('wtr.mat');
if handles.data.x < 5
% do something
end

thanks again
regards Jan



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.