Quantcast
Channel: MATLAB Central Newsreader - tag:"checkbox"
Viewing all articles
Browse latest Browse all 18

Re: Setting GUI Checkbox Defaute value by global variable

$
0
0


"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

Viewing all articles
Browse latest Browse all 18

Trending Articles