Subject: Change in matlab command for non-EOS machines
From: Harry Edmon <harry@uw.edu>
Date: Thu, 21 Apr 2011 11:00:16 -0700
To: all-users@atmos.washington.edu

This affect people not using the 7th floor Red Hat EOS machines.

I have a plan to make some sense out of the chaos of MATLAB versions current on our Linux systems.   I have created a new command called "matlab-new" that makes it easier to specify which version of MATLAB you want.   With this command you can call MATLAB using the normal "matlab" command line options.   There is one option I have added - the "-version" option that must be the first option specified if you use it.  The option is then followed by the name of the MATLAB version you wish to use.  The current options are:

13, 14.3, 2006a, 2007b, 2009b, 2010a, 2010b, 2011a, latest

So, if you want version 2007b you would type:

matlab-new -version 2007b

or, for example, if you don't want the java interface:

matlab-new -version 2007b -nojvm

Another way to specify the version is to use the MATLAB_VERSION environment variable.   For example if you type:

setenv MATLAB_VERSION 2010a
matlab-new

you would get version 2010a.   If you do not have the environment variable set, and you do not specify the version, you will get the latest version we have which is currently 2011a (which is the same at typing "matlab-new -version latest").  The latest version will change when we get a new version of MATLAB.

My plan is to replace the "matlab" command on all the systems with this new command on June 15.   So, if you have scripts that depend on "matlab" being a specific version of MATLAB on your system, you need to start to modify them by either adding the "-version" option or setting the environment variable for those scripts.

If you have any questions, please send them to support@atmos.washington.edu

-- 
 Dr. Harry Edmon            E-MAIL: harry@uw.edu
 206-543-0547 FAX: 206-543-0308            harry@atmos.washington.edu
 Director of IT, College of the Environment and
 Director of Computing, Dept of Atmospheric Sciences
 University of Washington, Box 351640, Seattle, WA 98195-1640