[Caffe Learning log] install matlab2014a on Ubuntu14.04 and compile its interface

Source: Internet
Author: User

In order to use the Caffe Matlab interface on my Ubuntu14.04 system, I need to install MATLAB, the installation process is as follows:

1, first from the Baidu network disk download Linux version of the Matlab 2014a and its crack file, its link is as follows:

Link: Http://pan.baidu.com/s/1geMy0BT Password: a6by

The downloaded file has two. rar compression packets, which are extracted with an ISO image file size of 7.19GB.

2. Attach the ISO image file to Linux,

#选择挂载位置创建matlab文件夹

sudo mkdir/mount_path/matlab

#将MATLAB的ISO文件挂载到所在位置

Mount-o Loop Download_path/mathworks_r2014a.iso.iso/mount_path/matlab

#执行安装文件

Cd/mount_path/matlab

sudo./install

3, the installation process select "Use the installation file key", enter "12313-94680-65562-90832", and then select the appropriate installation location installation can be.

Finally, the option to "Activate Matlab" appears, tick, click Next, select "Do not use Internet manual activation", and then select "Enter the full path of the license file (including the file name)" To browse the Download_path\matlab\crack license file " License_405329_r2014a.lic ", insert license to complete activation.

4. Replace "libmwservices.so" in the Download_path\matlab\crack\linux folder with "matlab2014a" in the Bin\glnxa64 folder of your installation. Libmwservices.so ".

sudo cp/download_path/matlab/crack/linux/libmwservices.so/install_path/matlab/r2014a/bin/glnxa64/ Libmwservices.so

Replace "Install.jar" under the Download_path\matlab\crack folder with "Install.jar" in the Jave\jar folder of the matlab2014a you installed.

sudo cp/download_path/matlab/crack/install.jar/install_path/matlab/r2014a/java/jar/install.jar

5, the installation of MATLAB to complete the ~ sudo matlab can open matlab.

6, modify the Caffe directory of the Makefile.config file, mainly in which the new installation of MATLAB to add the path.

7, compile the interface. Open the terminal in the Caffe directory and enter make Matcaffe. Since the GCC version I installed is 4.8, and the version supported by MATLAB2014A is 4.7.X, a warning appears, but it does not have to be taken care of.

8, test the interface. Open the terminal in the Caffe directory and enter make Mattest to get the test success.

      

Refer to Blogs, Web pages:

http://blog.csdn.net/lanbing510/article/details/41698285

Http://www.linuxidc.com/Linux/2016-08/134082.htm

Http://www.cnblogs.com/laiqun/p/6031925.html

[Caffe Learning log] install matlab2014a on Ubuntu14.04 and compile its interface

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.