Main Content

Web Apps

Package MATLAB® apps for deployment to MATLAB Web App Server

Web apps are MATLAB apps that can run in a web browser. You create an interactive MATLAB app using App Designer, package it using the Web App Compiler, and host it using either the development version of MATLAB Web App Server or the MATLAB Web App Server™ product. Each web app has a unique URL and can be accessed from a web browser using HTTP or HTTPS protocols. The server has a home page listing all available hosted web apps. You share web apps by sharing the unique URL to a web app or the URL to the home page of the server.

Web apps are designed to run only within a trusted intranet environment, not in the open Internet. For more information, see Potential Risks.

Only apps designed using App Designer can be deployed as web apps. Web apps are supported on Windows®, Linux®, and macOS. For a list of supported web browsers, see Supported Browsers and Platform Incompatibilities.

MATLAB Compiler™ ships with the development version of MATLAB Web App Server. However, if you want to integrate the server in an enterprise ecosystem with authentication and role-based access capabilities, continue to run web apps created using different releases of MATLAB, have no limit on the number of end-users accessing web apps, you need to purchase the MATLAB Web App Server product. For details, see MATLAB Web App Server Differences.

Apps

Web App CompilerPackage App Designer apps for web deployment

Functions

compiler.build.webAppArchiveCreate an archive for deployment to MATLAB Web App Server
compiler.build.WebAppArchiveOptionsCreate a web app archive options object
compiler.build.ResultsCompiler build results object
webAppCompilerPackage App Designer apps for web deployment

Topics

Install and Configure

System Requirements for Development Version of MATLAB Web App Server

Hardware and software requirements to install and run the development version of MATLAB Web App Server.

Install the Development Version of MATLAB Web App Server in MATLAB Compiler

Steps to install the development version of MATLAB Web App Server.

Start the Server Application

Steps to start the server application in the development version of MATLAB Web App Server.

Configure the Development Version of MATLAB Web App Server in MATLAB Compiler

Register services and configure server options in the development version of MATLAB Web App Server.

Supported Browsers and Platform Incompatibilities

List of supported web browsers and platform-specific incompatibilities.

MATLAB Web App Server Differences

Differences between the MATLAB Web App Server product and the development version of MATLAB Web App Server in MATLAB Compiler.

Create, Deploy, and Run

Create Web App

Learn how to create a web app for deployment.

Deploy Web App

Learn how to deploy a web app.

Run Web App

Run and test web apps from a browser.

Simple Mortgage Calculator Web App

Try an example on how to create, deploy, and run a web app.

Simulink Simulation Web App

Try an example on how to create, deploy, and run a web app containing a Simulink® simulation.

Limitations and Unsupported Functionality

Consider functional limitations and unsupported MATLAB functions when creating web apps.

Diagnostics

Diagnostics

Check the status of each web app.

Web App Session Log

Check the web app session log.

Security

MATLAB Web App Server Security

Take security precautions when hosting web apps.

Enabling HTTPS

Configure MATLAB Web App Server to use HTTPS.

Potential Risks

Consider the client, server, and application risks associated with running web apps.

Authoring Secure Web Apps

Follow guidelines and practices for authoring MATLAB apps to be secure web apps.

Securely Deploying Web Apps

Summary of security guidelines for deploying web apps.