MATLAB: How to run a standalone application in MATLAB

MATLAB Compiler

I would like to create a standalone executable from MATLAB files. I want to determine the files that need to be distributed along with the executable when deploying this application to end users.

Best Answer

To deploy an application to a stand alone target, you need the MATLAB Component Runtime (MCR) installed on the target machine. Hence, along with your application, you should also provide your end user with the MCRInstaller executable. To locate the MCRInstaller executable in your host machine, execute the following command in MATLAB:
mcrinstaller
On the target machine, you can now install the MCR by running MCRInstaller.exe.
Please refer to the following online resources for additional information:
Working with the MCR:
<http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/br2jauc-31.html>
Deploying to End Users:
<http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/br2jauc-13.html>