Main Content

Standalone Applications

Create standalone applications from MATLAB® functions

You can deploy MATLAB code as a standalone application using MATLAB Compiler™ and share it royalty-free with other users. A standalone application can be an app designed using MATLAB App Designer or GUIDE, or it can be a command-line executable. The target system running a standalone application requires a MATLAB Runtime installation to run the application. It does not require a licensed copy of MATLAB. For details, see Install and Configure MATLAB Runtime.

To create standalone applications from Simulink® simulations, use Simulink Compiler.

Standalone applications can be created using the compiler.build.standaloneApplication function, or the mcc command, or the Application Compiler app.

Apps

Application CompilerPackage MATLAB programs for deployment as standalone applications

Functions

expand all

deploytoolOpen a list of application deployment apps
mccCompile MATLAB functions for deployment
createDeploymentScriptCreate a deployment script from a MATLAB Compiler PRJ file
compiler.build.standaloneApplicationCreate standalone application for deployment outside MATLAB
compiler.build.standaloneWindowsApplicationCreate a standalone application for deployment outside MATLAB that does not launch a Windows command shell
compiler.build.StandaloneApplicationOptionsOptions for building standalone applications
compiler.build.ResultsCompiler build results object
compiler.package.installerCreate an installer for files generated by MATLAB Compiler
compiler.package.InstallerOptionsOptions for creating MATLAB Compiler package installers
compiler.package.dockerCreate a Docker image for files generated by MATLAB Compiler on Linux operating systems
compiler.package.DockerOptionsCreate a Docker options object
compiler.codetools.deployableSupportPackagesDetermine support packages used by files
ctfrootLocation of files related to deployed application
isdeployedDetermine whether code is running in deployed or MATLAB mode
ismccTest if code is running during compilation process (using mcc)
mcrversionReturn MATLAB Runtime version number that matches MATLAB version
%#functionPragma to help MATLAB Compiler locate functions called through feval, eval, Handle Graphics callback, or objects loaded from MAT-files
%#excludeIgnore file or function dependencies during MATLAB Compiler dependency analysis

Topics

Create Standalone Applications

Customize Applications

Package to Docker

Packaging

Parallel Computing

Mac OS X

Dependency Analysis

Best Practices

Troubleshooting