handles of a Button
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Max Müller
le 29 Juil 2014
Commenté : Max Müller
le 29 Juil 2014
Does anybody know, which handles of a PushButton I can use for setappdata ?
except: userData
0 commentaires
Réponse acceptée
Joseph Cheng
le 29 Juil 2014
are you using uicontrols to make your gui?
if so this is an example.
h = figure,h1 = uicontrol('Style','pushbutton','Position',[20 20 100 60])
setappdata(h1,'example',10);disp(['button data :' num2str(getappdata(h1,'example'))])
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!