How can I run uifigure over uiaxes inside my app?

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

Categorías

Más información sobre Develop Apps Programmatically en Centro de ayuda y File Exchange.

Productos

Versión

R2021a

Preguntada:

el 6 de Mayo de 2021

Respondida:

el 3 de Feb. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by