Manipulate several uiObject simultneously.

12 visualizaciones (últimos 30 días)
Frank Fournel
Frank Fournel el 5 de Abr. de 2024
Comentada: Mario Malic el 8 de Abr. de 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 comentarios
Frank Fournel
Frank Fournel el 8 de Abr. de 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 el 8 de Abr. de 2024
Exactly.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by