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. For more information, see Develop Apps Using App Designer.

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, and 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.

Web apps are supported on Windows®, Linux®, and macOS systems. Specifically, the development version of MATLAB Web App Server in MATLAB Compiler supports both macOS (Intel® processor) and macOS (Apple silicon), while the product version only supports macOS (Intel processor). For a list of supported web browsers, see Supported Browsers and Platform Incompatibilities.

Apps

Web App CompilerPackage App Designer apps for web deployment

Functions

compiler.build.webAppArchiveCreate an archive for deployment to MATLAB Web App Server (Since R2020b)
compiler.build.WebAppArchiveOptionsOptions for building web app archives (Since R2020b)
compiler.build.ResultsCompiler build results object (Since R2020b)
compiler.UserInfoRetrieve details of logged-in user (Since R2022a)
webAppCompilerPackage App Designer apps for web deployment

Topics

Install and Configure

Create, Deploy, and Run

Diagnostics

Security