UI Figure windowstyle doesn't work - R2020a

조회 수: 5 (최근 30일)
Jordi Navarro
Jordi Navarro 2021년 1월 29일
댓글: Himanshu Verma 2021년 5월 12일
Hi! I am working on a multiwindow app and I cannot get that a window is set to modal. When I looked on the examples, the examples that MATLAB gives don´t work to me either. I get this error (the code is from MATLAB examples):
fig1 = uifigure('Name','Figure 1');
fig1.WindowStyle = 'modal';
Error: Functionality not supported with figures created with the uifigure function. For more information, see Graphics Support in App Designer.
Is there any patch or something to fix this?
MATLAB version: R2020a // Windows 7 ultimate
Thanks!

채택된 답변

Steven Lord
Steven Lord 2021년 1월 29일
The functionality you're trying to use was introduced in release R2020b. The online documentation is for the most recent release, which as I type this is release R2020b.
  댓글 수: 2
Jordi Navarro
Jordi Navarro 2021년 1월 29일
Oh, sorry for the question then! Thank you!
Himanshu Verma
Himanshu Verma 2021년 5월 12일
@Steven Lord How can we keep the uifigure 'always on top' in older builds? (2019a or older)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by