02.Matlab Installation Instructions

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 9

Matlab 2012a installation instructions
All versions of Matlab must be installed and activated automatically using the internet and a new or existing Mathworks account.
Matlab cannot be activated manually or using a file installation key.
Things you will need:
Mathworks MATLAB 2012a installation file. Download the appropriate version
fromhttp://ist.njit.edu/software/download.php (obtained by clicking the "Download" button, when prompted to Run or Save
the file, click Save and save it to your Desktop).
Activation Key (obtained by clicking the "Request Product Key" button on the download page)
A MathWorks account is needed; if you do not already have one, you will create one during the installation. If you have
one, make sure that you know your password - if you do not know your password, make sure you know the password to the
e-mail account that is linked to your Mathworks account so you can retrieve your new Mathworks password.
If for some reason you receive an error code 983, please click the Help button on the error message for more help.
IMPORTANT: If you are running the Fedora Core 15, Fedora Core 16, or Fedora Core 17 distribution of Linux you will
need to follow these steps before starting the installation process. If you are running a newer Redhat based OS such as
Redhat or Fedora you will need to complete step 2. (If you are not sure whether your Linux distribution falls under this
category it will not hurt to run step 2 anyway)
1. It is recommended you choose choice C since it is the easiest, unless you are utilizing Fedora's new consistent network
device naming package. Fedora Cores 15, 16 and 17 use a new Consistent Network Device Naming package that
changes how network devices are named. This breaks the normal convention of naming the device ethX and instead
renames the device based on the bios name. Fedora has documented this change on their website here:
https://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming
The license manager and activation for MATLAB require a network device that is named ethX where ethX is the
lowest numbered eth device (ex: eth0, or eth1). The licensing does not work when the device has any other name. To
resolve this, you will need to change the name of the device to match the Linux standard convention.
There are three options you can use to enable the standard ethernet names to activate MATLAB:
A) Update the name in the /etc/sysconfig/network-scripts/ifcfg-* file
B) Disable biosdevname in the kernel command line
C) Remove the biosdevname package
See the information below for the steps:
A) According to the documentation, you should have a file in /etc/sysconfig/network-scripts that is named "ifcfg-" and
the name of your network device. To restore the name, you can rename this file to "ifcfg-eth0" and rename the device
name from the current name to eth0 in the contents of the file. Once updated, restarting networking services or
rebooting should enable the change.
You can also write rules in /etc/udev/rules.d/70-persistent-net.rules to change the device names to anything you wish.
Such will take precedence over this physical location naming scheme. Such rules may look like:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:22:33:44:55", ATTR
{type}=="1", KERNEL=="eth*", NAME="public"
B) To disable this feature you can reboot the computer and bring up the kernel command line in the boot menu. From
the kernel command line, you can run:
biosdevname=0
To disable this feature.
C) Lastly, if you don't want to use this feature, you can simply remove the package by running the following command
in a terminal as root:
yum remove biosdevname
This removes the package and on reboot will restore the traditional naming scheme
2. You will need to install the "libXp.so.6" library in order to run Matlab. To do this type the command: "sudo yum install
libXp.so.6" (without the quotes) for 32-bit Linux or "sudo yum install libXp.x86_64" (without the quotes) for 64-bit
linux.
3. Once these two steps are completed you may continue on installing as instructed by this guide.
If at any point during the installation you receive the following message, click No
1. To start the installation:
On Windows: Go to step 2.
On MacOS: If the file doesn't unzip automatically, unzip the file, then run "InstallForMacOSX", go to step 7.
On Linux: (Every command is case-sensitive) Open up the terminal and navigate to the folder containing the .zip
file you downloaded. To extract the files type: "unzip MatlabR2012aLinux32.zip" (without the quotes) if you
downloaded the 32-bit version, or "unzip MatlabR2012aLinux64.zip" (without the quotes) if you downloaded 64-bit
version. Next, type "unzip matlab_R2012a_glnx86_installer.zip" (without the quotes) for the 32-bit version or
"unzip matlab_R2012a_glnxa64_installer.zip" (without the quotes) for the 64-bit version. Now run the command
"sudo ./install" (without the quotes). Wait while the installer opens and go to step 7.
2. Double click on the file you downloaded (MatlabR2012aWin32.exe or MatlabR2012aWin64.exe)
3. Click the program should start extracting files automatically.
4. If you see this window click the Yes button. It may take a couple seconds to a couple minutes for this window to
appear. It may seem like your computer is frozen but please be patient. If not, and the window in step 5 appears
please follow the instructions from step 5.
5. If you see the following Window, wait for it to complete
6. If you see the following Window, wait for it to complete, if not go to step 7.
7. If you see the following Window, click the Yes button, if not go to step 8.
8. If you see the following Window, wait for it to complete, if not go to step 9.
9. Make sure that "Install using the Internet" is selected. Click Next. If you already downloaded then click at “Install
without using the internet”
10. If you see the following window you have downloaded and started to install the 32-bit version of Matlab. However
your computer is capable of running the 64-bit version and it is recommended that you do install the 64-bit version
since it is optimized for your computer. Click the OK button and then click the Cancel button. Download the 64-bit
version here. Make sure you select the version that has64 bit in the title. Start the installation over again from step 1
of these instructions using this new installer you downloaded. If you do not see this window continue to step 12.
11. Select the Yes button and click the Next button.
12. If you have previously activated Matlab 2008a or newer, you should already have a MathWorks account. Otherwise,
you will need to create one.
If you already have a MathWorks account:
o Select "Log in to my MathWorks Account".
o Enter the e-mail address and password associated with your MathWorks account.
o Click the Next button.
o Go to step 13.
If you do not already have a MathWorks account:
o Select "I need to create an Account".
o Click the Next button.
o Go to step 14.
13. Click the Next button. Go to step 18.
14. Enter your information, (you must use your IIITA email for the email address) and then click the Nextbutton. The
activation key can be obtained from the page you visited to download Matlab.
15. Check your IIITA email for an email from MathWorks. In that email there should be a verification link. Click on the
verification link and wait for the page to load completely. You can now close this page and return to the Matlab
installation window. Click the Next button.
16. If you receive the window below you did not properly verify your MathWorks account. Make sure you click the
correct link in the email MathWorks sent you and let the page fully load. If you are still having problems click the
on the "E-mail Verification FAQ" link in your window like the one shown below and follow the instructions. Click
the OK button and click the Next button. If you did not receive this window please continue to step 18.
17. Click the Next button.
18. If you see this window click the No button. If not go to step 20.
19. Make sure "Typical" is selected and click the Next button.
20. Click the Next button.
21. Click the Yes button. (If you have installed this version of Matlab before you will not see this window. Continue to
step 22.)
22. Click the Install button.
23. Wait for the installation to complete.
24. Click the Next button. (You will not receive this window if you're re-installing this same version. Go to step 26)
25. Make sure "Activate MATLAB" is selected and click the Next button.
26. Click the Next button.
27. Enter your activation key you obtained from the download page and click the Next button.
28. Enter the Windows/Linux/Mac OSX account name of the account you wish to use Matlab with. You will only be
able to use Matlab on one account, so make sure you enter the correct one. If you are running Linux you will need to
keep the user name as "root" This IS case-sensitive, be very careful to leave this intact, or else you may not be able
to run Matlab or won't be able to run certain commands with Matlab.
29. Click the Activate button.
30. Click the Finish button.
31. You are finished with the installation!

Navigation menu