Linux installation matlab Compiler runtime operation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.