Manipulate several uiObject simultneously.

조회 수: 9 (최근 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 CenterFile Exchange에서 Creating, 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