Omit or reduce thesize of uiprogressdlg uifigure gray background
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponses (1)
YK_Valid
le 23 Août 2022
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
0 commentaires
Voir également
Catégories
En savoir plus sur Develop uifigure-Based Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!