1, ready to install the file, should be the same as the program version of the production algorithm package, this article put it under the TMP folder.
2. Enter directory: cd/tmp
3. Unzip: Unzip mcr_r2012a_glnx32_installer.zip-d Mcr_r2012a_glnx32_installer
4. go to sub-directory: CD Mcr_r2012a_glnx32_installer
5. Installation: ./install-mode Silent-agreetolicense Yes
6. when the following word appears, it indicates MCR the installation was successful:
Exitingwith Status 0
End–successful.
Finished
7. Configure the MCR environment variable:
in the /etc/profile at the end of the file, add the following lines of environment variables (if installed MCR If the version is not the same, the path may be different and need to be modified):
Export Mcr_home=/usr/local/matlab/matlab_compiler_runtime
Export ld_library_path= $LD _library_path: $MCR _home/v717/runtime/glnx86: $MCR _home/v717/sys/os/glnx86: $MCR _home/ V717/sys/java/jre/glnx86/jre/lib/i386/native_threads: $MCR _home/v717/sys/java/jre/glnx86/jre/lib/i386/server:$ Mcr_home/v717/sys/java/jre/glnx86/jre/lib/i386
Export xapplresdir= $MCR _home/v717/x11/app-defaults
Then execute the following command to make it effective:
Source/etc/profile
8. Execute run Project package directive:Java–jar Xxxx.jar
9. Complete
MATLAB classification has a full set of installation procedures, algorithm writing, program calls, error summary of the solution, you can view the details.
This article from "Around" blog, declined reprint!
Linux installation matlab Compiler runtime operation