Problem using Matlab web app server app

35 次查看(过去 30 天)
Victoria Ramirez
Victoria Ramirez 2024-11-12,16:10
回答: Aravind 2024-11-18,6:18
I just download the web app server app, and everything seems download correctly. But when trying to run the command webapp-start, i get this error: >> webapps-start
Unrecognized function or variable 'webapps'.
And i get the same error with any webapps command.
But if i run the app manually (with double click) the app do opens, but when i try to open the home page, it gets stuck there and it doesn´t open anything.
Also, in some matlab documentation, says that i need to access this folder C:\Program Files\MATLAB\MATLAB Web App Server\R2024b\script, but that folder does not exist in my computer, i just have this:

回答(1 个)

Aravind
Aravind 2024-11-18,6:18
It seems you are encountering issues with the MATLAB Web App Server, specifically with errors related to the "webapps-start" command and missing directories.
From the image you shared, it appears that you have installed the "Development Version of the MATLAB Web App Server" instead of the "MATLAB Web App Server Product." Commands like "webapps-start" and "webapps-setup", as well as the directory "C:\Program Files\MATLAB\MATLAB Web App Server\R2024a\script", are only available when you install the "MATLAB Web App Server Product."
While the "Development Version of the MATLAB Web App Server" does offer similar functionality through its GUI application, there are some limitations. You can check out the differences between the two versions in this documentation: https://www.mathworks.com/help/releases/R2024a/webappserver/ug/matlab-web-app-server-differences.html.
To resolve your issues, I recommend installing the "MATLAB Web App Server Product" instead of the development version.
Here are some documentation links to help you get started with the "MATLAB Web App Server Product":
  1. Upgrading from the development version to the MATLAB Web App Server Product: https://www.mathworks.com/help/releases/R2024a/webappserver/ug/upgrading-to-matlab-web-app-server-product.html
  2. Installation of the MATLAB Web App Server Product: https://www.mathworks.com/help/releases/R2024a/webappserver/ug/install-or-uninstall-matlab-web-app-server-product.html
  3. Setting up the MATLAB Web App Server Product: https://www.mathworks.com/help/releases/R2024a/webappserver/ug/set-up-matlab-web-app-server.html
  4. An example of deploying a web app: https://www.mathworks.com/help/releases/R2024a/webappserver/ug/simulink-simulation-web-app.html
I hope this helps resolve your issue!

类别

Help CenterFile Exchange 中查找有关 Server Management 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by