Problem using Matlab web app server app

35 Ansichten (letzte 30 Tage)
Victoria Ramirez
Victoria Ramirez am 12 Nov. 2024 um 16:10
Beantwortet: Aravind am 18 Nov. 2024 um 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:

Antworten (1)

Aravind
Aravind am 18 Nov. 2024 um 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!

Kategorien

Mehr zu Server Management 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!

Translated by