You are here: Foswiki>TIG Web>SoftwareTopics?>RunningMatlab (revision 11)EditAttach

Running Matlab

  • Linux
Additional software paths are available through your DotSoftware file, for Matlab add a single line containing the string "matlab" to ~/.software. The next time you login the appropriate environment variables will be set to access Matlab.

See 'man 5 software' for more info and the names of other packages available via this mechanism.

  • Windows XP/Vista
Occasionally when trying to run MATLAB on Windows XP or Vista an error at the splash screen can cause the application to crash. If you encounter this, one fix is to set a system environment variable:
  1. From your Start/Windows button, click Control Panel.
  2. Click System and Maintenance, then System, then under Tasks, select Advanced System Settings. (The exact location/path to the Advanced System Settings window may vary depending on your theme preferences.)
  3. If necessary, click the "Advanced" tab.
  4. Click the Environment Variables button.
  5. Click New button under the System Variables list to create a new system variable.
  6. Name the variable: MATLAB_RESERVE_LO and set its value equal to 0.
  7. Click OK to exit the window and apply the changes.
  8. Restart your system after making these changes.

Running Matlab from outside CSAIL

  • Linux
When getting an e-mail from the license manager, you are told to write a license.dat file of the form:
   SERVER %LicenseServer% %HexadecimalNumber% %PortNumber%
   USE_SERVER

You should forward two ports to inside CSAIL: %PortNumber%, and 34443. With SSH, Linux, and Matlab R2010a, this method can be used:

  1. write a file ~/.matlab/R2010a_licenses that contains:
       SERVER localhost %HexadecimalNumber% %PortNumber%
       USE_SERVER
       
    this will tell matlab to access the ports locally.
  2. While running matlab, make sure this command is running:
         ssh -L %PortNumber%:%LicenseServer%:%PortNumber% -L 34443:%LicenseServer%:34443 login.csail.mit.edu
       
    this will forward the local ports to the CSAIL license server in a secure manner.

Of course, replace all the variables with their values.

Unanswered Questions

Add a list of questions you'd like answered here:

-- JonProulx - 31 Jan 2005
Edit | Attach | Print version | History: r13 | r12 < r11 < r10 < r9 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: 25 Sep 2010, yonch
 

MIT Computer Science and Artificial Intelligence Laboratory

 

  • About CSAIL
  • Research
  • News + Events
  • Resources
  • People

This site is powered by Foswiki MIT: Massachusetts Institute of Technology