"Jinseok Ur" <jinseok007@naver.com> wrote in message
news:mgrk3l$86b$1@newscl01ah.mathworks.com...
> "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?
I don't understand what you're asking. Describe in more detail what you want
to do; if you can link to an example of another GUI that does that, that
would help understand your problem as well.
--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com