필터 지우기
필터 지우기

Omit or reduce thesize of uiprogressdlg uifigure gray background

조회 수: 9 (최근 30일)
dan kin
dan kin 2020년 4월 23일
답변: YK_Valid 2022년 8월 23일
In the the uiprogressdlg help there is a nice function that creates a figure and displays an indeterminate progress bar during a singular value decomposition. Is it possible to omit or reduce the size of the uifigure gray backgound so I can see only the Computing SVD Progress Bar?
Link:
Code:
function myprogress2
f = uifigure;
d = uiprogressdlg(f,'Title','Computing SVD',...
'Indeterminate','on');
% Do the SVD computation
svd(rand(5000));
% close the dialog box
close(d);
end

답변 (1개)

YK_Valid
YK_Valid 2022년 8월 23일
you can try this :
function myprogress2
f = uifigure;
f.Position = [500 500 300 75];
d = uiprogressdlg(f,'Title','Computing SVD',...
'Indeterminate','on');
% Do the SVD computation
pause(5)
% close the dialog box
close(d);
end

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by