Simplified MATLAB Install

From Cheaha
Revision as of 16:00, 14 March 2012 by Tanthony@uab.edu (talk | contribs) (→‎Installation: changed the download and instalaltions ection and added links)
Jump to navigation Jump to search


Attention: Research Computing Documentation has Moved
https://docs.rc.uab.edu/


Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.


As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.

Thank you,

The Research Computing Team

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 @uab.edu 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 license.
  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

Activation

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

SERVER lmgr.uabgrid.uab.edu 27000
USE_SERVER

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_R2010b.app/licenses/network.lic

On Linux systems it is usually located at /usr/local/matlabR2010b/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 tanthony@uab.edu or laurenr@uab.edu for installation or usage issues, mbolding@uab.edu (to be added to the license or for installation issues), or support@mathworks.com. Mathworks will want your license number: 678600. If you do not hear back from Mark within one working day then call 4-2009.

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

Common Issues

libXp.so.6 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: libXp.so.6: 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.

UAB MATLAB Wiki

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.

UAB 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 https://vo.uabgrid.uab.edu/sympa/arc/matlab-user. 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