필터 지우기
필터 지우기

Run Web App maximized (fill browser window) by default?

조회 수: 15 (최근 30일)
J. Alex Lee
J. Alex Lee 2019년 10월 10일
댓글: Hannes Greim 2024년 4월 14일
There is a feature for "maximizing" the web app window inside the browser:
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
Petr Semotam
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
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
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.
  댓글 수: 5
William Thielicke
William Thielicke 2024년 2월 22일
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
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!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Solam
Solam 2023년 9월 19일
편집: Solam 2023년 9월 19일
For the development version of the web app server there is a solution to do this.
1 - Open this file : C:\ProgramData\MathWorks\webapps\R2023a\config\webapps.config
2 - Set this line like this :
3 - Restart the Web App Server
  댓글 수: 1
Hannes Greim
Hannes Greim 2023년 9월 19일
Awesome! This works perfectly. Thank you for sharing!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Web App Server에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by