Run Web App maximized (fill browser window) by default?
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
J. Alex Lee
am 10 Okt. 2019
Kommentiert: Hannes Greim
am 14 Apr. 2024
There is a feature for "maximizing" the web app window inside the browser:
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/241899/Capture.png)
Is there a way to have the apps run in "full browser size" mode by default, rather than the client having to click the maximize button?
10 Kommentare
Petr Semotam
am 9 Mär. 2022
Verschoben: Voss
am 28 Feb. 2023
Have you already solve this issue or there is still no way how to start web app in maximized mode by default?
Hannes Greim
am 1 Apr. 2022
Bearbeitet: Hannes Greim
am 1 Apr. 2022
(+1) I would also like to have the option to launch the Matlab WebApp Server applications "maximized" in the browser window. This doesn't seem to work currently, as of version R2021b. I tested it inside the startupFcn, at the top:
function startupFcn(app)
if isdeployed
app.UIFigure.WindowState = "maximized";
end
% [ ... ] "snip"
end
Akzeptierte Antwort
Suresh Balakrishnama
am 28 Feb. 2023
Verschoben: Voss
am 28 Feb. 2023
Yes, we have solved this. https://www.mathworks.com/help/webappserver/ref/webappsconfig.html, please see the webapps-config app_session_fullscreen configuration setting.
5 Kommentare
William Thielicke
am 22 Feb. 2024
For me, running windowstate maximized does also not work in Matlab online (but of course it works fine in the regular Matlab environment). Any idea? Setting the window width and height to 100% does not do proper full screen.
Hannes Greim
am 14 Apr. 2024
See the solution provided by Solam below if you are running the development version of the web app server. This solution worked perfectly for me. Good luck!
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu MATLAB Web App Server finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!