필터 지우기
필터 지우기

UIAxes are not working in the matlab web app

조회 수: 4 (최근 30일)
건희 한
건희 한 2023년 5월 15일
편집: Vinayak Gupta 2023년 5월 31일
I made a Drawing graph App in matlab appdesigner.
This app works well when run in MATLAB.
However, when I make it a web app and connect to the server and open the app, I don't see any UIAxes.
Also, when I send the app to someone else to create a web app, it looks fine.
Why can't I see them on my computer?
On the left, we're running in the app designer, and on the right, we're running in the web app.
Thank you in advance for your response.
  댓글 수: 1
SungMoon Lee
SungMoon Lee 2023년 5월 16일
편집: SungMoon Lee 2023년 5월 16일
I got same problem. It works in app designer but not on web app server.
Hope someone has answer for this problem.

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

답변 (1개)

Vinayak Gupta
Vinayak Gupta 2023년 5월 29일
편집: Vinayak Gupta 2023년 5월 31일
Hi
As you mentioned that the figure is visible in app designer and even when someone else compiles the same app. Here are a few suggestions to help you troubleshoot the problem:
  1. Check the MATLAB version and any related dependencies on your system. Make sure that your MATLAB version and any required toolboxes or add-ons are up to date.
  2. Verify that the web app's deployment environment is set up correctly. Ensure that all necessary files and dependencies are included when deploying the web app to your system.
  3. Consider checking any security settings or firewalls on your system. Some security settings or firewall configurations might restrict the functionality of web-based applications. Temporarily disabling any security measures can help determine if they are causing the issue.
There may be generic issues like system running low on resources, which may cause the UI to not load. Also, can you verify that a page refresh fixes the issue.
If none of these suggestions resolve the issue, it would be helpful to provide additional details, such as any relevant code snippets, to further investigate the problem. Please refer to the following documentation about the Web App creation and deployment:
Please verify the App and server location before deploying the `.ctf` archive.
-- Edit --
Ensure that you are running the latest version of MATLAB runtime, "MATLAB Runtime R2023a update 2" at the moment.
And also that no other instance of the webapp service is running. Maybe the old instance didn't properly shut down. Use task manager to kill any existing instances of webapps.exe or webapps_launcher.exe that are running.

카테고리

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

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by