Create a standalone application if you want to run MATLAB code on target machines that do not have MATLAB installed. Compile the MATLAB code by running the compiler.build.standaloneApplication
or mcc
command, or by using the
Application Compiler
app.
Standalone applications run on Windows®, Linux®, and macOS corresponding to the platform on which they are
generated.
To run standalone applications, install MATLAB Runtime on the target machine. For more information, see Install and Configure MATLAB Runtime.
Application Compiler | Package MATLAB programs for deployment as standalone applications |
Create Standalone Application from MATLAB
Try an example on creating, installing, and running a standalone MATLAB application.
How to customize the look and feel of the installer generated by the compiler app.
Including support packages when packaging MATLAB applications.
Run Applications Using a Network Installation of MATLAB Runtime
Describes the steps you must follow to run applications using a network install of MATLAB Runtime.
MATLAB Data Files in Compiled Applications
Include MATLAB data files in compiled applications.
Package MATLAB Standalone Applications into Docker Images
Example on packaging a MATLAB standalone application into a Docker® image.
mcc Command Arguments Listed Alphabetically
Quick reference table of MATLAB Compiler™ options, listed alphabetically.
mcc Command Line Arguments Grouped by Task
Quick reference table of MATLAB Compiler options, grouped by functionality.
Use Parallel Computing Toolbox in Deployed Applications
Procedure to pass a cluster profile to an application that uses the Parallel Computing Toolbox™.
Integrate Application with Mac OS X Finder
Add MATLAB Runtime to the Mac Application Launcher installation area.
Dependency Analysis Using MATLAB Compiler
MATLAB Compiler uses a dependency analysis function to find and include files.
Dependency Analysis Function and User Interaction with the Compilation Path
MATLAB Compiler uses 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 by MATLAB Compiler for deployment.
Write flexible MATLAB code that can be packaged and deployed.
Standalone Applications and Arguments
How to run standalone applications that use arguments.
Calling Shared Libraries in Deployed Applications
The loadlibrary
function in MATLAB allows you to load shared library into MATLAB.
MATLAB Data Files in Compiled Applications
Include MATLAB data files in compiled applications.
Functions Not Supported for Compilation by MATLAB Compiler and MATLAB Compiler SDK
Functions not able to be compiled with MATLAB Compiler or MATLAB Compiler SDK™
MATLAB Compiler has limitations regarding what can be compiled.
If you encounter errors testing your application, ensure MATLAB Runtime is installed correctly.
Investigate Deployed Application Failures
Diagnose application failure during end-user deployment.