Matlab Web App Server Quick Start Guide
Matlab Web App Server Quick Start Guide
Overview
MATLAB Web App Server™ lets you host MATLAB® apps and Simulink® simulations as interactive web apps. You
can create apps using App Designer, package them using MATLAB Compiler™, and host them using MATLAB Web
App Server. Your end users can access and run the web apps using a browser without installing additional software.
mathworks.com
If you do not have license manager installed, you can install it using MATLAB installer.
1. Run MATLAB installer and select the “Log in with a MathWorks Account”.
2. Accept the Software License Agreement.
3. Sign in using your MathWorks Account email address and password.
4. Select your MATLAB Web App Server license number from the list of linked licenses.
5. Choose the installation folder.
6. Select the “License Manager” from the list of products to install.
7. When prompted, browse to the “license.lic” file downloaded from the MathWorks License Center.
8. To start the license manager to start at boot time, select “Configure the license manager as a service”
(Windows only).
For more information, refer to the article, How do I install or update the Network License Manager?
On Windows systems, the license manager starts automatically. For Linux systems, start the license manager using
the ./lmstart script in the etc directory, which is within the installation directory you specified during the install
process. By default, the license manager will listen for license checkout requests on port 27000. For more
information, refer to the license manager installation and management documentation.
2. Enter information about the license manager at the prompt. You can specify this information in one of two ways:
Port Number@License Server Name, for example: 27000@myLicenseServer
Path to the license file, for example: C:\myLicenses\license.lic
3. Specify a user account to run the server service and the apps service. To use the default account, press Enter.
4. Specify the MATLAB Runtime versions you want to use by typing y or n at the prompt. The setup utility
automatically finds all MATLAB Runtime installations on your machine as long as they are installed in the default
installation location. If you do not have a MATLAB Runtime version installed, you can press Enter to continue
with the rest of the setup process. After setting up your license manager, run webapps-runtime script to specify
the server to use with MATLAB Web App Server.
5. To start the server, run webapps-start script. A message appears to indicate the server is running with a URL for
MATLAB Web Apps homepage. Save the URL.
mathworks.com
Command-Line Scripts for Windows, Linux, and macOS
Option 2: This option requires that Authentication and Role-Based Access are enabled on the server, and you are
designated as an author while configuring Role-Based Access. From the MATLAB Web App Server home page:
1. Login.
2. Click Manage Apps > Upload App.
3. Select the file webAppArchiveName.ctf and click Open to upload the web app.
Additional Resources
• MATLAB Web App Server System Requirements
• MATLAB Web App Server Documentation
• MATLAB Runtime Installer Download
• MathWorks Installation Support
mathworks.com
© 2020 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks for a list of additional trademarks.
Other product or brand names may be trademarks or registered trademarks of their respective holders.