Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Jan
Posts:
5
Registered:
11/5/12


Re: GUI to exe problem
Posted:
Mar 21, 2013 6:33 PM


"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/codetorunthegui.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



