Manipulate several uiObject simultneously.

6 vues (au cours des 30 derniers jours)
Frank Fournel
Frank Fournel le 5 Avr 2024
Commenté : Mario Malic le 8 Avr 2024
I migrate from guide to appdesigner.
I was able to put the handles of many uiobject into one liste in order to chane their properties with one line.
How can I do the same with appdesigner ?
liste1=[handles.panel_SET,handles.text_RotBary,handles.checkbox_AxeRot,... handles.FitAxeXmin,handles.FitAxeYmin,handles.FitAxeXmax,handles.FitAxeYmax,handles.text_XAxeRot,handles.text_YAxeRot,... handles.text_RotBary2,handles.text_AxeX,handles.text_AxeY,handles.edit_AxeRotX,handles.edit_AxeRotY];
liste2=handles.radiobuttonVector,handles.radiobuttonArea,handles.text120,handles.editPadSize,handles.text121];
if get(hObject,'Value')
set(liste1,'Visible','on');
set(liste2,'Visible','off');
They are not in the same uipanel...
  7 commentaires
Frank Fournel
Frank Fournel le 8 Avr 2024
Why not. How do you fill in the gobjects? with a list for instance :
temp=gobject(2);
temp=[app.paneltest, app.checkboxtest];
Mario Malic
Mario Malic le 8 Avr 2024
Exactly.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by