Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
change gui properties with codes not on inspector manually
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I have an existing gui fig, but i want to change some properties like fontsize, fontname with command lines since they are too many panels or edit_text. I mean if it's possible to get the handle of an opening gui? like this:
handle_mygui = get(0,'mygui'); %it's definitely wrong
set(handle1_mygui.mytag.fontsize,10);
has anybody tried this? or give some hints?
0 commentaires
Réponses (2)
Walter Roberson
le 15 Mai 2018
If you are using GUIDE, then none of the Create* callbacks will have access to the handles structure, but the GUI OpenFcn callback will be passed the handles structure
0 commentaires
tye huo
le 7 Juil 2019
The "property inspector" always pop up as i click on objects like 'fig'. I have not found a way to suppress it.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!