Borrar filtros
Borrar filtros

UIAxes are not working in the matlab web app

4 visualizaciones (últimos 30 días)
건희 한
건희 한 el 15 de Mayo de 2023
Editada: Vinayak Gupta el 31 de Mayo de 2023
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 comentario
SungMoon Lee
SungMoon Lee el 16 de Mayo de 2023
Editada: SungMoon Lee el 16 de Mayo de 2023
I got same problem. It works in app designer but not on web app server.
Hope someone has answer for this problem.

Iniciar sesión para comentar.

Respuestas (1)

Vinayak Gupta
Vinayak Gupta el 29 de Mayo de 2023
Editada: Vinayak Gupta el 31 de Mayo de 2023
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.

Categorías

Más información sobre MATLAB Web App Server en Help Center y File Exchange.

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by