Ubuntu 18.04 installation package Matlab2018 Linux environment under the file, unzip command --tar, gzip, bzip2, unzip, rar

   Due to the experimental environment requirements, recently installed Matlab2018b on Ubuntu 18.04, where a simple recording process.

   (1) The first is to obtain the corresponding Matlab2018b installation package, where the author is on a foreign site to get the site at: https: //downloadly.ir/software/engineering-specialized/mathworks-matlab-download/, see right-blank page when you can not understand the web content -> translated into English (chrome), after which you can follow the link to download the corresponding content on the page, note page attached links will be forced to skip some of the ads, you can download Place your mouse on the target link, right click -> copy link address directly obtain the download address.

  

   (2) Download the complete five interface on the rar compressed, and decompress the compressed rar above, simply by extracting the first command specifies a compressed packet, the subsequent compressed packet is automatically unpacked. Here decompressing compressed by rar command, ubuntu system does not support the compression rar By default, the program need to decompress the corresponding rar. More details on rar commands, refer to man rar help and author of another article summarizes the  package under Linux file, unzip command --tar, gzip, bzip2, the unzip, rar .

    Rar installation program:

      sudo apt install rar    //安装 rar

    Decompressing operation:

      X ~ Mathworks_Matlab_R2018b_v9.5.0_Linux64.part1_Downloadly.ir.rar RAR / Matlab2018     // unpack the archive to the user's home directory Matkab2018

   After (3) extraction is completed, the directory after the files are decompressed, you get two corresponding iso file and a folder Crack. Which Readme.txt file Crack folder recorded a simple installation process.

    

   (4) First, a new empty folder, after said first mount iso file folder to the new operation. After loading is completed, the program execution is the corresponding mounting the above-described directory.

      ~ mkdir / matlab         // create a new folder in the user's home directory matlab 
      the sudo Loop MatlabR2018b_LinX64_disk1_Downloadly.ir.iso Mount -o ~ / matlab     // mounted at the iso file ~ / matlab directory

    It should be noted that the installation commands to be executed in addition to the above mount directory, i.e., the need to perform the installation outside ~ / matlab directory, because the default installation matlab located under / usr / local / directory, where the directory need root privileges .

      ~ the sudo / MATLAB / the install         // perform setup

   (5) Select the installation Use a File Installation Key option and agreed to use the protocol, before the input of the interface after installation keys to the Readme.txt file Crack folder.

    

    

    In the subsequent installation directory selection, choose the default installation directory, you can enter the installation process, a progress bar progress will prompt installation.

    

   (6) After the installation is complete half, the installation wizard prompts for the second iso file. First, the first unmounting iso file, select the file mount in the Explorer directory matlab, right -> umount, and to determine unmounted.

    

    After the second iso file to mount in the same directory, command execution and (4) of the mount command, but will change for the second iso file. Select OK to continue to mount after the completion of the installation process.

   (7) for ease of use, installation matlab-support here to support matlab, Matlab icon can display and provide some other function.

      sudo apt install matlab-support    //安装 matlab-support

    The installation process will require the installation of Matlab specified directory, is also mounted before the path (5). And requires activation of Matlab, here to choose offline activation and select the file to the original license_standalone.lic Crack folder.

    

   (8) Upon completion of the installation of matlab-support, it must also use the contents of the bin file of Crack folder to replace the original content Matlab installation bin folder of files in the directory.

      cp -rvf R2018a sudo / bin / usr / local / MATLAB / R2018b /         // Crack folder to copy the contents of the file to the bin directory under Matlab installation

   (9) After the above steps, the user can search has been Matlab application icon corresponding to the application interface by a win + appears, click on the icon to run.

  Another note: After the above installation process is complete, when I open Matlab, I will get an error " of Can not preference the Write to File" matlab.prf "the Check File the Permissions. , Which is due to the installation process is completed by Matlab root privileges, therefore all the installation files." and the owner of the configuration files are root. When you click the icon to run Matlab, based on normal user rights to run, and therefore will make Matlab at this time we do not have permission to write the contents of .matlab file located in the user's home directory. One possible solution is to modify the owner of the above-mentioned folder for the current user, so that the current user has write permissions when using Matlab.

      ~ -R & lt USER_NAME chown the sudo / .matlab     // modify the directory, the current user is the owner

  

  Reference :

    Ubuntu Matlab R2017a crack installation

    Linux MATLAB 2018a installation tutorial and failed to start Solution

  

  Use of Matlab encountered :

  When using the mex Matlab compiled error " CAN not Convert For 'mwSize const * const {AKA} Long unsigned int *' to 'const int *' ... ." As the use of online public codes, and therefore the program itself does not compile correctly less likely, mainly from an environmental perspective to solve the problem.

  . A code whether there is disclosed the corresponding documentation readme.txt As such, the environment configuration specifies procedures needed to compile, macro definitions, parameters and the like;

  b. After the problem is not a determining, if the above error message persists, the system itself may be the problem of the environment, such as different versions of the system, architecture and other problems caused, in the above case, the same error occurs repeatedly, and all correspondence is mwSize not correspond to the int type, the type of speculation may be achieved corresponding to different system environments lead to different, where the solution is to use compatible option when using the mex compiler -DMX_COMPAT_32.

Guess you like

Origin www.cnblogs.com/yhjoker/p/11464679.html