Personal tools

Simplified MATLAB Install

From UABgrid Documentation

Revision as of 13:20, 25 June 2021 by (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Please see the MATLAB application page for more information and a general overview of MATLAB and its use at UAB.


MATLAB Simplified Install

Download and Installation

Follow the instructions detailed in Downloading and Installing MATLAB. An outline of these installation steps are as follows:

  1. Create an account at the Mathworks site using your campus email address. Please do not share your mathworks account username or password with anyone as this account will be associated with the UAB TAH license.
  2. Request an activation key from the UAB software library page. Please make sure to request the appropriate key (Faculty/staff or student) as the software are on different licenses.
  3. Associate your Mathworks account with the campus-wide MATLAB license using your activation key.
  4. Download the software from the mathworks download site and install MATLAB


Activate the software: Add the following content to the network.lic file in the installation and start MATLAB.

SERVER 27000

By default, the license file location is $MATLAB\licenses for all platforms. The license file name will be network.lic

On Mac's this file is located in /Applications/MATLAB_R<VERSION>.app/licenses/network.lic

On Linux systems it is usually located at /usr/local/matlabR<VERSION>/licenses/network.lic (conditional to the install location being /usr/local)

NOTE: If the network.lic license file does not already exist on your system, you must create the network.lic file described above.

NOTE: Please engage in the Discussion to improve documentation of the above steps.

Installation Help

If you get stuck or have problems with the self-service installation you may contact for installation or usage issues, or Mathworks will want your license number: 678600.

You must be faculty, staff, post-doc, or a grad student using Mathworks software for UAB research activities to activate this software.

Common Issues Error when starting MATLAB on a Red Hat / Fedora workstation

When executing 'matlab' on a Red Hat / Fedora workstation you may receive the following error:

'bin/glnxa64/MATLAB: error while loading shared libraries: cannot open shared object file: No such file or directory"

The solution is to install the libXp package (this will require root privileges)

$ sudo yum install libXp

MATLAB Support / Mailing List

As with any application or computer language, learning to use MATLAB to analyze data or to develop or modify MATLAB applications is an individual responsibility. There is ample application documentation available from the Mathworks website, potential outreach to colleagues who also use MATLAB, and options for consultation with Mathworks. Mathworks also host on-campus training seminars several times a year and provides many on-line learning tutorials.

Installation support for MATLAB at UAB is provided by your local IT support organization and the Docs wiki.

Mathworks Website

Your first and best option for application-specific questions on MATLAB is to refer to the on-line MATLAB documentation. The Mathworks site also provides a a support matrix and an on-line knowledge base.


The MATLAB page on the Docs wiki is the starting point for installing MATLAB at UAB and, optionally, configuring it to use cluster computing. All users are encouraged to contribute to the MATLAB knowledge in this wiki, especially if you see areas where improvements are needed. Remember, this knowledge base is only as good as the people who contribute to it.

Contributing to the wiki is as easy as clicking the login link on the top-right of the page and signing in with your UAB BlazerID. If you are unsure about making an edit, you can make suggestions for improvement on the page's Discussion tab or discuss the proposed improvement in the MATLAB user group.


At UAB, MATLAB installation support is provided by your local IT support group. Support for application specific questions is available from peers in your research group. We realize that some people are not as familiar with MATLAB as others. For this reason, we have established a MATLAB user forum (mailing list) where users of MATLAB at UAB can help answer each others questions.

This is a network of volunteers sharing their knowledge with peers. You are encouraged to reach out to this community for questions on using MATLAB by

Archives of MATLAB user group discussions are available on-line at You may find your question is already answered in these archives.

UAB MATLAB announce mailing list

To receive information about UAB's MATLAB license and announcements please subscribe to the matlab-annc mailing list by