Can I set the UIFigure or AppDesigner GUI to be disable?

조회 수: 26 (최근 30일)
I would like to make UIFigure of an application created with AppDesigner disable while a certain processing.
Figure object has an "Enable" property and we can set it as "disable", but UIFigure object doesn't seem to have an "Enable" property.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2022년 5월 19일
UIFigure, the main component of AppDesigner, does not have an "Enable" property.
As an alternative, you can use the uiprogressdlg function.
・uiprogressdlg function
The UIFigure(GUI) is disabled while the dialog box created by the uiprogressdlg function is displayed.
 
Example:
d = uiprogressdlg(app. UIFigure,'Title','Please Wait'); % dialog display (GUI is in Disable state)
...
close(d) % dialog exit (return to Enable state)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by