How to make a button visible in GUIDE?
Ältere Kommentare anzeigen
Hi,
I am using Matlab 2012a and I've been trying to make an edit box visible/invisible in GUIDE.
I've tried the following sentence but it doesn't work : set(hObjet,'Visibility','off')
Thank you!
1 Kommentar
Akzeptierte Antwort
Weitere Antworten (1)
Sean de Wolski
am 10 Jan. 2013
set(hObject, 'visible','off');
Will only work if you are int he callback from that pushbutton. Otherwise hObject will be a handle to the caller object. It is safer and a better practice to use:
set(handles.pushbuttonx,'visible','off');
Where 'pushbuttonx' is the 'Tag' of the oushbutton you wish to make invisble.
1 Kommentar
TheBeginner
am 10 Jan. 2013
Kategorien
Mehr zu Call Web Services from MATLAB Using HTTP finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!