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 function, or the mcc command, or the Application Compiler app.


Application CompilerPackage MATLAB programs for deployment as standalone applications


expand all

deploytoolOpen a list of application deployment apps
mccCompile MATLAB functions for deployment
createDeploymentScriptCreate a deployment script from a MATLAB Compiler PRJ file standalone application for deployment outside MATLAB a standalone application for deployment outside MATLAB that does not launch a Windows command shell for building standalone applications 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


Create Standalone Applications

Customize Applications

Package to Docker


Parallel Computing

Mac OS X

Dependency Analysis

Best Practices