Simplified MATLAB Install: Difference between revisions

From Cheaha
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 6: Line 6:
Follow the instructions detailed in [[Downloading and Installing MATLAB]].  An outline of these installation steps are as follows:
Follow the instructions detailed in [[Downloading and Installing MATLAB]].  An outline of these installation steps are as follows:
# [http://www.mathworks.com/accesslogin/createProfile.do 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.
# [http://www.mathworks.com/accesslogin/createProfile.do 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.
#Request an [[Get a UAB Mathworks key |activation key]] from the [http://www.uab.edu/it/software/index.php UAB software library page]. Please make sure to request the appropriate key (Faculty/staff or student) as the software are on different license.
#Request an [[Get a UAB Mathworks key |activation key]] from the [http://www.uab.edu/it/software/index.php UAB software library page]. Please make sure to request the appropriate key (Faculty/staff or student) as the software are on different licenses.
#[[Downloading_and_Installing_MATLAB#Associate_with_the_UAB_TAH_license|Associate your Mathworks account]] with the campus-wide MATLAB license using your activation key.
#[[Downloading_and_Installing_MATLAB#Associate_with_the_UAB_TAH_license|Associate your Mathworks account]] with the campus-wide MATLAB license using your activation key.
#[[Downloading_and_Installing_MATLAB#Download_Matlab|Download the software]] from the [http://www.mathworks.com/downloads/web_downloads/agent_check?s_cid=mwa-cmlndedl&mode=gwylf&refer=mwa mathworks download site] and [[Downloading_and_Installing_MATLAB#Install_Matlab|install MATLAB]]
#[[Downloading_and_Installing_MATLAB#Download_Matlab|Download the software]] from the [http://www.mathworks.com/downloads/web_downloads/agent_check?s_cid=mwa-cmlndedl&mode=gwylf&refer=mwa mathworks download site] and [[Downloading_and_Installing_MATLAB#Install_Matlab|install MATLAB]]
Line 12: Line 12:
===Activation===
===Activation===
Activate the software: Add the following content to the network.lic file in the installation and start MATLAB.  
Activate the software: Add the following content to the network.lic file in the installation and start MATLAB.  
  SERVER lmgr.uabgrid.uab.edu 27000
  SERVER lmgr.rc.uab.edu 27000
  USE_SERVER
  USE_SERVER


By default, the license file location is $MATLAB\licenses for all platforms.  The license file name will be network.lic
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 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/matlabR2010b/licenses/network.lic (conditional to the install location being /usr/local)
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:''' If the network.lic license file does not already exist on your system, you must create the network.lic file described above.  
Line 27: Line 27:


===Installation Help===
===Installation Help===
If you get stuck or have problems with the ''self-service'' installation you may contact [[User:Tanthony@uab.edu | tanthony@uab.edu]] or [[User:Laurenr@uab.edu | laurenr@uab.edu]] for installation or usage issues,  [[User:Mbolding@uab.edu | mbolding@uab.edu]] (to be added to the license or for installation issues), or [mailto:support@mathworks.com 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.
If you get stuck or have problems with the ''self-service'' installation you may contact support@listserv.uab.edu for installation or usage issues,  or [mailto:support@mathworks.com support@mathworks.com].  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.
You must be faculty, staff, post-doc, or a grad student using Mathworks software for UAB research activities to activate this software.

Latest revision as of 18:20, 25 June 2021

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 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

Activation

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

SERVER lmgr.rc.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_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 support@listserv.uab.edu for installation or usage issues, or support@mathworks.com. 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

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