Run Web App maximized (fill browser window) by default?
12 次查看(过去 30 天)
显示 更早的评论
There is a feature for "maximizing" the web app window inside the browser:

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 个评论
Petr Semotam
2022-3-9
移动:Voss
2023-2-28
Have you already solve this issue or there is still no way how to start web app in maximized mode by default?
Hannes Greim
2022-4-1
编辑:Hannes Greim
2022-4-1
(+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
采纳的回答
Suresh Balakrishnama
2023-2-28
移动:Voss
2023-2-28
Yes, we have solved this. https://www.mathworks.com/help/webappserver/ref/webappsconfig.html, please see the webapps-config app_session_fullscreen configuration setting.
6 个评论
Hannes Greim
2024-4-14
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!
JClarcq
2025-3-17
Maybe I have misunderstood the solution from Suresh.
Could we have the option to set the windows to maximize at the webapp level itself and not at the wabapp server? We do not want necessarly that all webapps open fullscreen.
Thank you.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Web App Server 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!