"Steven Lord" <Steven_Lord@mathworks.com> wrote in message <mgr3ph$kpt$1@newscl01ah.mathworks.com>...
>
>
> "Jinseok Ur" <jinseok007@naver.com> wrote in message
> news:mgptrb$mk3$1@newscl01ah.mathworks.com...
> > Hi,
> > I'm making my own GUI, use checkbox and edit text.
> > what i want to do is using global variable to default value .
>
> I strongly recommend you NOT do that. While that would work, it also gives
> anyone with access to the global workspace (anyone) the ability to
> _accidentally_ break your GUI. Instead use one of the techniques described
> on this page:
>
> http://www.mathworks.com/help/matlab/creating_guis/share-data-among-callbacks.html
>
> *snip*
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
thanks for your oppinion !
how about variable in GUI ?
my goal is change default value using variable!
in other words variable change the inspector's value(=what i said default value) in gui.m , not using inspector
is it possible?
>
>
> "Jinseok Ur" <jinseok007@naver.com> wrote in message
> news:mgptrb$mk3$1@newscl01ah.mathworks.com...
> > Hi,
> > I'm making my own GUI, use checkbox and edit text.
> > what i want to do is using global variable to default value .
>
> I strongly recommend you NOT do that. While that would work, it also gives
> anyone with access to the global workspace (anyone) the ability to
> _accidentally_ break your GUI. Instead use one of the techniques described
> on this page:
>
> http://www.mathworks.com/help/matlab/creating_guis/share-data-among-callbacks.html
>
> *snip*
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
thanks for your oppinion !
how about variable in GUI ?
my goal is change default value using variable!
in other words variable change the inspector's value(=what i said default value) in gui.m , not using inspector
is it possible?