UIAxes are not working in the matlab web app
3 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1383839/image.png)
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
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
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:
- 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 个评论
另请参阅
类别
在 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!