服务器管理
设置、配置和管理 MATLAB® Web App Server™
您可以使用命令行界面设置、配置和管理 MATLAB Web App Server。
适用于 Windows、Linux 和 macOS 系统的命令行脚本
webapps-appdir | 在 Windows、Linux 和 macOS 系统上通过命令行创建用于组织 Web App 的文件夹 |
webapps-config | 在 Windows、Linux 和 macOS 系统上通过命令行配置 MATLAB Web App Server |
webapps-containers | 设置环境以在 Linux 系统上的 Docker 容器中运行 MATLAB Web App |
webapps-cspolicy | 通过 Windows、Linux 和 macOS 系统上的命令行管理 Web App 的内容安全策略 (CSP) |
webapps-restart | 在 Windows、Linux 和 macOS 系统上从命令行重新启动 MATLAB Web App Server 服务 |
webapps-runtime | 在 Windows、Linux 和 macOS 系统上从命令行配置 MATLAB Runtime 以与 MATLAB Web App Server 一起使用 |
webapps-secrets | 管理 Windows、Linux 和 macOS 系统上的 Web App 服务器机密 |
webapps-setup | 在 Windows、Linux 和 macOS 系统上通过命令行设置 MATLAB Web App Server |
webapps-start | 在 Windows、Linux 和 macOS 系统上从命令行启动 MATLAB Web App Server 服务 |
webapps-status | 在 Windows、Linux 和 macOS 系统上的命令行中获取 MATLAB Web App Server 的状态 |
webapps-stop | 在 Windows、Linux 和 macOS 系统上从命令行停止 MATLAB Web App Server 服务 |
webapps-uninstall | 在 Windows、Linux 和 macOS 系统上的命令行中卸载 MATLAB Web App Server 服务 |
主题
设置和配置
- 设置 MATLAB Web App Server
准备 MATLAB Web App Server 以托管 Web App。 - 服务信息、组和文件夹位置
找到适合您平台的 MATLAB Web App Server 服务、组和文件夹位置。 - 配置服务器以使用 MATLAB Runtime
配置服务器以使用 MATLAB Runtime。 - Audit Logging
Record critical events and activities within the server.
安全访问
- 启用 SSL
启用对服务器的 SSL 访问。 - 身份验证
使用 LDAP 或 OIDC 配置身份验证。 - 基于角色的访问
配置基于角色的服务器访问 - 基于策略的访问
配置基于策略的服务器访问。 - 处理已部署 App 中的敏感信息
使用机密从部署的代码中删除敏感信息。 (自 R2024a 起) - 控制 MATLAB Web App Server 中的机密访问
使用 JSON 策略文件来配置机密。 (自 R2024a 起)
自定义和内联框架嵌入
- 自定义 MATLAB Web App Server App 主页
更改 App 主页中横幅的标题、背景颜色、字体类型和字体大小。 - 根据用户自定义 Web App 行为
根据登录用户自定义 Web App 行为。 - 使用 iframe HTML 元素嵌入 MATLAB Web App
了解如何使用iframe
HTML 元素将 Web App 嵌入另一个 Web。 - 在自定义 Web App 和嵌入式 MATLAB Web App 之间交换数据
了解如何在自定义 Web 和 Web 内嵌入的 MATLABWeb App 之间交换数据。 - Light and Dark Modes for Web Apps
Enable web apps to switch between light and dark modes based on user or system preferences. - Custom URL Paths for Web Apps
Set up custom URL paths to change the base URL of your web apps for use with reverse proxies.
创建、部署和运行
- 创建 Web App
了解如何创建用于部署的 Web App。 - 部署 Web App
了解如何部署 Web App。 - 运行 Web App
从浏览器运行并测试 Web App。 - 简单的抵押贷款计算器 Web App
尝试有关如何创建、部署和运行 Web App 的示例。 - 部署 Simulink 仿真 Web App
尝试一个有关如何创建、部署和运行包含 Simulink® 仿真的 Web App 的示例。