Getting Help

Lab Schedule

Home > Online Help > Software & Licensing > Matlab



MATLAB is a high-level language and interactive environment that enables you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran.



Installed on

  • linux cluster
  • windows cluster
  • Executables



    "Inessential MATLAB"
    Official Documentation

    Running Matlab in the Background

  • matlab-nogui (run matlab without gui interface)
  • /usr/bin/nohup matlab-nogui < inputfile > outputfile & (run matlab w/o gui, and put it into the background)
  • /usr/bin/nohup nice -10 matlab-nogui < inputfile > output & (matlab, no gui, background, and nice it)

    When you put matlab in the background, it will continue to run even when you log out. If your matlab job is going to take serveral hours, you should always "nice" it, e.g. put it in a lower priority. You should always run your jobs with lower priorities when you're running long jobs.

  • TroubleShooting

    X-Windows Emulator: MATLAB Sometimes Fails to Start error message: Xlib: unexpected async reply (sequence 0x13b)!

    One workaround to this problem is to start MATLAB with the -nodesktop startup option.

    Another workaround is to remove the MATLABDesktop.xml file from your preferences directory, which is the directory returned by MATLAB when you run the prefdir function. The preferences directory path is similar to this:


    You should then be able to start MATLAB without a problem. Before quitting MATLAB, be sure the desktop is not maximized because that might cause the problem to happen again.


    MATLAB                                              35 users
    Simulink                                            10 users
    Control System Toolbox                              10 users
    Image Processing Toolbox                            10 users
    Optimization Toolbox                                10 users
    Signal Processing Toolbox                           10 users
    Spline Toolbox                                      10 users
    Statistics Toolbox                                  25 users
    Symbolic Math Toolbox                               25 users


    Comments to
    © 1998-2018 UC Regents