主要内容

独立应用程序

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

expand all

applicationCompiler 建造and package functions into standalone applications
deploytool Open a list of application deployment apps
MCC. 编译MATLABfunctions for deployment
compiler.build.standaloneApplication 在外面创建一个独立的部署应用程序MATLAB
compiler.build.standaloneWindowsApplication 在外面创建一个独立的部署应用程序MATLABthat does not launch a视窗命令shell
compiler.build.StandaloneApplicationOptions Options for building standalone applications
compiler.build.Results 编译r build results object
compiler.package.installer Create an installer for files generated byMATLAB编译r
compiler.package.InstallerOptions Options for creatingMATLAB编译rpackage installers
compiler.package.docker. Create aDockerimage for files generated byMATLAB编译rLinuxoperating systems
compiler.package.DockerOptions Create aDockeroptions object
compiler.codetools.deployably万博1manbetxUpportPackages. Determine support packages used by files
ctfroot Location of files related to deployed application
isdeployed 确定代码是否正在部署或MATLAB模式
ISMCC Test if code is running during compilation process (usingMCC.)
mcrversion ReturnMATLABRuntimeversion number that matchesMATLABversion
%#function Pragma to helpMATLAB编译rlocate functions called throughFeval.,eval,处理图形callback, or objects loaded from MAT-files
%#排除 Ignore a file or function dependency during dependency analysis while executing theMCC.命令

Topics

Create Standalone Applications

Customize Applications

Package to Docker

包装

Parallel Computing

Mac OS X.

Dependency Analysis

最佳实践

Troubleshooting