フィルターのクリア

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 Center および File ExchangeDevelop uifigure-Based Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by