MATLAB Compiler    

Stand-Alone
Applications


This chapter explains how to use the MATLAB Compiler to code and build stand-alone applications.
Stand-alone applications run without the help of the MATLAB interpreter. In fact, stand-alone applications run even if MATLAB is not installed on the system. However, stand-alone applications do require the run-time shared libraries, which are detailed in the corresponding sections.
Differences Between MEX-Files and Stand-Alone Applications
Overview of the differences
Building Stand-Alone C/C++ Applications
Steps to create stand-alone C/C++ applications
Building Stand-Alone Applications on UNIX
UNIX-specific steps to create stand-alone applications
Building Stand-Alone Applications on PCs
PC-specific steps to create stand-alone applications
Distributing Stand-Alone Applications
Packaging applications for users
Building Shared Libraries
Steps to create C shared libraries
Building COM Objects
Steps to create COM objects
Building Excel Plug-Ins
Steps to create Excel plug-ins
Troubleshooting
Common problems with mbuild and the MATLAB Compiler
Coding with M-Files Only
Creating stand-alone applications from M-files and MEX-files
Alternative Ways of Compiling M-Files
Other ways of compiling M-files
Mixing M-Files and C or C++
Creating applications from M-files and C/C++ code


  Converting Script M-Files to Function M-Files Differences Between MEX-Files and Stand-Alone Applications