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 using the
Application Compiler app
or by running the
To run standalone applications, install the MATLAB Runtime. For more information, see Install and Configure the MATLAB Runtime. Standalone applications run on Windows, Linux®, and Mac.
|Application Compiler||Package MATLAB programs for deployment as standalone applications|
|Build and package functions into standalone applications|
|Compile MATLAB functions for deployment|
|Compile and package functions for external deployment|
|Determine whether code is running in deployed or MATLAB mode|
|Test if code is running during compilation process (using mcc)|
|Location of files related to deployed application|
|Determine version of installed MATLAB Runtime|
|Pragma to help MATLAB Compiler locate functions called through feval, eval, Handle Graphics callback, or objects loaded from MAT-files|
How to customize the look and feel of the installer generated by the compiler app.
Including support packages when packaging MATLAB applications.
Describes the steps you must follow to run applications using a network install of MATLAB Runtime
Using MATLAB data files in compiled applications
Explains the additional steps required to deploy code that uses the Parallel Computing Toolbox™
Mac graphical applications, opened through the Mac OS X finder utility, require additional configuration if MATLAB software or the MATLAB Runtime are not installed in default locations.
Functions not able to be compiled with MATLAB Compiler™ or MATLAB Compiler SDK™
Writing MATLAB code that can be packaged and deployed.
How to pass arguments to standalone applications and run applications that use arguments
loadlibrary function in MATLAB allows you to load shared library into MATLAB.
Basics about the dependency analysis function
MATLAB Compiler uses the MATLAB search path to analyze dependencies.
How the dependency function handles MEX-files, DLLs, and shared libraries
Limitations and restrictions regarding what can be compiled
After you have successfully compiled your application, the next step is to test it on a development machine and deploy it on a target machine.
Process to determine application failure at the end-user
Issues related to setting the MATLAB Runtime path