Manipulate several uiObject simultneously.

12 ビュー (過去 30 日間)
Frank Fournel
Frank Fournel 2024 年 4 月 5 日
コメント済み: Mario Malic 2024 年 4 月 8 日
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 件のコメント
Frank Fournel
Frank Fournel 2024 年 4 月 8 日
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 2024 年 4 月 8 日
Exactly.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by