Setting UIFigure windowstyle to modal
Mostra commenti meno recenti
Hello i have been looking for a couple of days for answer to this but so far no luck.
But when I try on code:
%------fig--------
try
fig = uifigure;
fig.Name = 'Enter Background Gas Value';
fig.Resize = 'off';
fig.Position(1:2) = [400, 300];
fig.Position(3:4) = [800, 500];
fig.WindowStyle = 'modal';
catch ME
disp(ME)
end
i get this error:
MATLAB:ui:uifigure:UnsupportedAppDesignerFunctionality
Functionality not supported with figures created with the uifigure function. For more information, see Graphics Support in App Designer.
Any idea what i am doing wrong? Thank you
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Graphics Object Properties in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!