独立应用程序
Create standalone applications from MATLAB®functions
如果要在没有安装MATLAB的目标计算机上运行MATLAB代码,则创建独立应用程序。通过运行来编译matlab代码compiler.build.standaloneApplication
或者MCC.
命令, or by using the应用程序编译器
应用程序。独立应用程序在Windows上运行®, Linux®, 和macOScorresponding to the platform on which they are generated.
To run standalone applications, installmatlab运行时在the target machine. For more information, seeInstall and Configure MATLAB Runtime.
Apps
应用程序编译器 | PackageMATLABprograms for deployment as standalone applications |
Functions
Topics
Create Standalone Applications
- Create Standalone Application from MATLAB
尝试创建,安装和运行独立MATLAB应用程序的示例。
Customize Applications
- Customize an Application
How to customize the look and feel of the installer generated by the compiler app. - 管理支持包万博1manbetx
Including support packages when packaging MATLAB applications. - Run Applications Using a Network Installation of MATLAB Runtime
介绍使用网络安装运行应用程序的步骤matlab运行时. - MATLAB Data Files in Compiled Applications
在已编译的应用程序中包含MATLAB数据文件。
Package to Docker
- 将MATLAB独立应用程序包装为Docker图像
Example on packaging a MATLAB standalone application into a Docker®image.
包装
- MCC命令按字母顺序列出的参数
快速参考表MATLAB Compiler™options, listed alphabetically. - MCC.Command Line Arguments Grouped by Task
快速参考表MATLAB Compileroptions, grouped by functionality.
Parallel Computing
- Use Parallel Computing Toolbox in Deployed Applications
将群集配置文件传递给使用并行计算工具箱™的应用程序。
Mac OS X.
- 使用Mac OS X Finder集成应用程序
Addmatlab运行时to theMacApplication Launcher installation area.
Dependency Analysis
- Dependency Analysis Using MATLAB Compiler
MATLAB Compiler使用一个函数来查找和依赖分析clude files. - Dependency Analysis Function and User Interaction with the Compilation Path
MATLAB Compileruses the MATLAB search path to analyze dependencies. - MEX-Files, DLLs, or Shared Libraries
Learn how dependency analysis handles MEX-files, DLLs, and shared libraries. - How Does MATLAB Deploy Functions?
Learn the steps performed byMATLAB Compiler部署。
最佳实践
- Write Deployable MATLAB Code
编写可以打包和部署的灵活的MATLAB代码。 - 独立应用程序and Arguments
如何运行使用参数的独立应用程序。 - Calling Shared Libraries in Deployed Applications
Theloadlibrary
function in MATLAB allows you to load shared library into MATLAB. - MATLAB Data Files in Compiled Applications
在已编译的应用程序中包含MATLAB数据文件。
Troubleshooting
- Matlab编译器和Matl万博1manbetxab Compiler SDK编译不支持的功能
Functions not able to be compiled withMATLAB Compiler或者MATLAB Compiler SDK™ - 限制
MATLAB Compilerhas limitations regarding what can be compiled. - 测试失败
If you encounter errors testing your application, ensurematlab运行时is installed correctly. - Investigate Deployed Application Failures
Diagnose application failure during end-user deployment.