UIAxes are not working in the matlab web app
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
SungMoon Lee
am 16 Mai 2023
Bearbeitet: SungMoon Lee
am 16 Mai 2023
I got same problem. It works in app designer but not on web app server.
Hope someone has answer for this problem.
Antworten (1)
Vinayak Gupta
am 29 Mai 2023
Bearbeitet: Vinayak Gupta
am 31 Mai 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:
- 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.
- 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.
- 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.
0 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Web App Server finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!