You can deploy web apps to the development version of MATLAB® Web App Server™ in one of two ways:
Copy the web app archive (.ctf
file) generated by Web App
Compiler (in MATLAB
Compiler™) to the apps folder configured by the server.
Upload the web app archive (.ctf
file) generated by Web App
Compiler (in MATLAB
Compiler) to the apps folder configured by the server. This deployment
option is available only if you have the MATLAB
Web App Server product installed. For more information, see Install or Uninstall MATLAB Web App Server Product (MATLAB Web App Server).
Navigate to the project folder generated by Web App Compiler (in MATLAB Compiler) during the packing process.
Copy the file
to
the app folder configured by the MATLAB
Web App Server. If you selected the Copy web app to server app
folder check box in the Web App Compiler while creating the
web app, your web app archive (webAppArchiveName
.ctf.ctf
file) is
automatically be copied to the app folder configured by the server.
You can access the app folder by clicking the Open App Folder button in the MATLAB Web App Server utility.
Note
You must have write permissions to the app folder to copy a web app
archive (.ctf
file) to folder.
Your web app is now deployed and can be accessed from the web apps home page. For more information, see Run Web App.
Verify that you have the MATLAB Web App Server product installed. For more information, see Install or Uninstall MATLAB Web App Server Product (MATLAB Web App Server).
Verify that Authentication (MATLAB Web App Server) and Role-Based Access (MATLAB Web App Server) are enabled on the server.
Verify that you are designated as an author while configuring Role-Based Access (MATLAB Web App Server).
Navigate to the web apps home page configured by the server. You can
obtain the URL to the home page by executing webapps-status
(MATLAB Web App Server) at the system command-line or by getting the
URL from an individual who is administering the server. The format of the
home page URL is:
http://
webAppServer
:PortNumber
/webapps/home/index.html
Here,
is your
web app server hostname, and
webAppServer
is the port
specified when configuring the server.PortNumber
Click on the web apps home page to open the
Manage Apps page.
Click and navigate to the project folder
generated by Web App Compiler (in MATLAB
Compiler) during the packaging process.
Select the file
and
click Open to upload the web app. You get a
confirmation that the
webAppArchiveName
.ctf
was
successfully uploaded to the server.webAppArchiveName
.ctf