Matlab 'compiler is not a compiler. It converts the Matlab m-code into C ++ code, and then sends it to the actual compiler, similar to the one in Visual Studio, etc. The encoding that he does is not actually human readable.
To create a stand-alone application, install the following toolbars (at any price you paid):
MATLAB Builder JA, MATLAB Builder NE, MATLAB Compiler
Configure the Matlab compiler by pointing it to the actual compiler on your disk (i.e. mbuild -setup).
Select the compiler: [1] Microsoft Visual C ++ 2008 SP1 in C: \ Program Files (x86) \ Microsoft Visual Studio 9.0
Then use (e.g. deploytool type) to make the main one and define various helper functions, etc. Split your Windows console or standalone. Then click "Create." He will make an exe file for you. You can also compile DLLs, etc. As needed.
New versions of compiler support for compiling eval, all licensed tools, and support for importing Java classes that allow you to use, for example, the DOM to parse XML files, etc.
To use the received exe file on a computer on which Matlab is not installed, you need to get Matlab MCR and install it. The MCR should exactly match the version of Matlab that you used to compile the compiled code.
Hi,
Ivan
source share