Web アプリは、Web ブラウザーで実行できる MATLAB アプリです。対話型 MATLAB アプリは、App Designer を使用して作成し、Web アプリ コンパイラを使用してパッケージ化し、開発用バージョンの MATLAB Web アプリ サーバーまたは MATLAB Web App Server™ 製品を使用してホストします。各 Web アプリには一意の URL があり、Web ブラウザーから HTTP または HTTPS プロトコルを使用してアクセスすることができます。サーバーにはホーム ページがあり、ホストされている使用可能なすべての Web アプリのリストが表示されます。Web アプリを共有するには、Web アプリの一意の URL またはサーバーのホーム ページの URL を共有します。
Web アプリは、公開のインターネットではなく、信頼されたイントラネット環境内でのみ実行するよう設計されています。詳細については、Potential Risksを参照してください。
Web アプリとして配布できるのは、App Designer を使用して設計されたアプリのみです。Web アプリは Windows®、Linux® および macOS でサポートされています。サポートされている Web ブラウザーのリストについては、Supported Browsers and Platform Incompatibilitiesを参照してください。
MATLAB Compiler™ には開発用バージョンの MATLAB Web App Server が付属しています。ただし、認証および役割ベースのアクセス機能をもつエンタープライズ エコシステムにサーバーを統合し、さまざまなリリースの MATLAB を使用して作成された Web アプリを引き続き実行し、Web アプリにアクセスするエンドユーザー数を無制限にする場合は、MATLAB Web App Server 製品を購入する必要があります。詳細については、MATLAB Web App Server Differencesを参照してください。
Web アプリ コンパイラ | Package App Designer apps for web deployment |
compiler.build.webAppArchive | Create an archive for deployment to MATLAB Web App Server |
compiler.build.WebAppArchiveOptions | Create a web app archive options object |
compiler.build.Results | Compiler build results object |
webAppCompiler | Package App Designer apps for web deployment |
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.
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.
Learn how to create a web app for deployment.
Learn how to deploy a 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.
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.
MATLAB Web App Server Security
Take security precautions when hosting web apps.
Configure MATLAB Web App Server to use HTTPS.
Consider the client, server, and application risks associated with running web apps.
Follow guidelines and practices for authoring MATLAB apps to be secure web apps.
Summary of security guidelines for deploying web apps.