Installation Guide 9.3

Installation Guide for Department Desktop / Lab Desktop / Network based License Inside the IISc Network

Before You Install

Make sure you have filled the TAH Desktop Computer Form  for Network based license online and have obtained a Mathworks account.   If you have not done this then, please go to the following link and follow the instructions there.

https://www.serc.iisc.ac.in/software/matlab-tah-model-total-academic-headcount-license-tah

Then you can continue with the procedure given below.

Before you run the installer:

  • Windows Systems
    Get the name and password of the administrator account on your computer. The installer modifies the system registry during installation.

  • Linux Systems
    Get the root password. You can install MATLAB software without superuser privileges, however, it limits certain installation options. For example, if you want to setup symbolic links to the matlab command, install product files in a protected folder, or edit the system boot script, you must have superuser status.

  • Macintosh Systems
    Get the name and password of the administrator account on your computer. The administrator account is the user account you set up when you configured your Macintosh system; this is not your MathWorks Account. During installation, you must enter this name and password in the Authenticate dialog box, shown below.

Consider disabling virus-checking software and Internet security applications on your system for the duration of the installation process. These applications can slow down the installation process or cause it to appear unresponsive (or to hang).

Step 1: To Start the Installation

To install through network from SERC

For Windows

Installation of Matlab through network

  • Go to Start -> Run
  • type \\10.16.4.96\shares and click on OK
  • A window will open. All the versions of matlab have been dumped and shared for network access here.

  • Click on “Matlab-R2017a” folder. Inside this folder you will find the following.
    • From here copy the ” Matlab-R2017b_Win64″ folder and the file “license.dat” to your machine and then open the Matlab folder. (You can also directly install from the network directory also.)
    • [Once you copy the “license” file you need not download the file again as given in “Step 7 “. You can skip that part.]
    • Double click on “setup.exe” and the installation will start.

The next steps are as given below in the installation section.

 

For Mac
Installation of Matlab through network
Follow either of the methods below, Terminal or GUI

    • Through Terminal:
      Login as superuser into your Mac system and make a directory where you can mount the files. For example
    • # mkdir /opt/matlab9.3

    • Now open a terminal. At the prompt type
    • # mount -t smbfs //guest@10.16.4.96/shares /opt/matlab9.3(or)# mount -t cifs //guest@10.16.4.96/shares /opt/matlab9.3

OR

    • Through GUI:Go to finder and press (command + k) or click the option “connect to server”
    • Type the following”cifs://10.16.4.96/shares” or “smbfs://10.16.4.96/shares” and press enterIn the pop up box, enter “guest” as username as registered user and press enter, password not required.
  • After successfully mounting, change to Matlab-R2017b directory. You will see four directories, one for linux, one for Mac, one for windows32 and one for windows 64. You will also find a file “license.dat” which you can copy to some other directory (/usr/local maybe) on your machine.

    In the terminal mode at the hash prompt

  • # cp license.dat /usr/local/ (please give path to the directory where you want to store this file.)

  • [Once you copy the “license.dat” file you need not download the file again as given in “Step 7”. You can skip that part.]

  • Now change directory to “\\10.16.4.96\shares\Matlab-R2017b\Matlab-R2017b_Mac\InstallForMacOSX.app\Contents\MacOS”. Double click on InstallForMacOSX.The installation starts.

The next steps are as given below in the installation section.

 

For Linux
Installation of Matlab through network

Please Note: Linux users will have to copy the installation setup files to their PC, so its recommended that your system has a minimum of 15 GB at least to complete the Installation successfully.

  • Log in as superuser into your Linux system and make a directory where you can mount the files.
  • # mkdir /opt/matlab9.3
  • # mount -t cifs //10.16.4.96/shares /opt/matlab9.3 -o guest
  • Change directory to the mounted path, i.e “/opt/matlab9.3 “, You will see four directories, one for linux, one for Mac, one for windows32 and one for windows 64. You will also find a file “license.dat” which you can copy to some other directory (/usr/local maybe) on your machine.
  • # cp license.dat /usr/local/
    (please give path to the directory where you want to store this file.)
  • [Once you copy the “license.dat” file you need not download the file again as given in “Step 7”. You can skip that part.]
  • Copying the Software package to your PC: Here “~/Desktop/” can be any path in your System where you would like to copy the software package.
  • # cp -vr /opt/matlab9.3/Matlab-R2017b/Matlab-R2017b_Linux64/ ~/Desktop/

    Now change to the directory where you copied the software package.

  • cd ~/Desktop/Matlab-R2017b_Linux64/” and at the prompt type ./install and press enter.
  • #[Matlab-R2017b_Linux]# ./install
  • The installation starts.

The next steps are as given below in the installation section.


Step 2: Choose “Use a File Installation Key” and click on Next


Step 3: Review the License Agreement

Review the software license agreement and, if you agree with the terms, select Yes and click Next.


Step 4: Specify the File Installation Key

SERC NOTE:

For File Installation Key, Kindly send a mail to “symadmin@serc.iisc.in” using your Department Email-Id , with your Name and ID Card Number(SR Number). Also mention the version of Matlab required . (i.e 2015b/2016a/2016b/2017a)

Select the I have the File Installation Key for my license option, enter the File Installation Key, and click Next.


Step 5: Specify the Installation Folder

Specify the name of the folder where you want to install MathWorks products.Accept the default installation folder or click Browse to select a different one. If the folder doesn’t exist, the installer creates it.

On Macintosh systems, the installer puts the MATLAB application package, MATLAB_R2017a.app, in the Applications
folder, by default.

When specifying a folder name, you can use any alphanumeric character and some special characters, such as underscores. The installer will tell you if the name you specified includes any characters that are not permitted in file names. If you make a mistake while entering a folder name and want to start over, click Restore Default Folder.

After making your selection, click Next.


Step 6: Specify Products to Install

You can specify which products you want to install in the Product Selection dialog box. This dialog box lists all the products associated with the license you selected or with the File Activation Key you specified. In the dialog box, all the products are preselected for installation. If you do not want to install a particular product, clear the check box next to its name. After selecting the products you want to install, click Next to continue with the installation.
SERC NOTE:
Do not select License Manager

Step 7: Specify Path to License File

SERC NOTE:
Click here for downloading the license file, extract the file ‘license.rar’ to get the ‘license.dat’ file.
(Please ignore this step if you have already copied the license.dat file.)
Please do not modify this file in any way.
Users are required to update local DNS setting as indicated in
http://nitss.serc.iisc.ernet.in/docs/configuration/dns_settings/HowToChangeDNS.html
Specify the location of your License File and click Next.


Step 8: Confirm Your Choices and Begin Installation

Before it begins copying files to your hard disk, the installer displays a summary of your installation choices. To change a setting, click Back. To proceed with the installation, click Install.

As it copies files to your hard drive, the installer displays a status dialog box to show the progress of the installation.


Step 9: Complete the Installation

When the installation successfully completes, the installer displays the Installation Complete dialog box. Click on Finish.

SERC NOTE: For Network Concurrent License Activation of Matlab

Make sure you are able to resolve matlab-tah.serc.iisc.ernet.in

Command at the prompt is

#nslookup matlab-tah.serc.iisc.ernet.in

Response you must get is

#Server: 10.16.25.15

Address: 10.16.25.15#53

matlab-tah.serc.iisc.ernet.in.

Name: matlab-tah.serc.iisc.ernet.in

Address: 10.16.4.41

Use following url for setting DNS.

http://nitss.serc.iisc.ernet.in/docs/configuration/dns_settings/HowToChangeDNS.html


Note : If you get license fetch error, please make the following entry in /etc/hosts

10.16.4.41 matlab-tah matlab-tah.serc.iisc.ernet.inFor windows path is: C:\Windows\System32\drivers\etc\hosts
For Linux path is: /etc/hosts