How can I run uifigure over uiaxes inside my app?

조회 수: 3 (최근 30일)
Mohammad Shahbazy
Mohammad Shahbazy 2021년 5월 6일
답변: Reshma Nerella 2022년 2월 3일
Hi All,
I have written the following code to run one uiprogress (as a waitbar) as computing process is in progress. It runs properly via uifigure but I need to run it over UIAxes within my GUI environment (developed by app designer). Would you please have a look and kindly correct my code (if possible)?
Many Thanks,
Moh
*****************************************
function CalculationButtonPushed(app, event)
fig = uifigure;
d = uiprogressdlg(fig,'Message','In progress','Title','Computing SVD',...
'Indeterminate','on');
drawnow
% Execute the computation
[u s v] = svds(rand(50000,200),10);
sc = u*s;
% close the dialog box
close(d)
close(fig)
end

답변 (1개)

Reshma Nerella
Reshma Nerella 2022년 2월 3일

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by