Documentation Center

  • Trials
  • Product Updates

Start MATLAB on Linux Platforms

To start MATLAB® on Linux® platforms, type matlab at the operating system prompt.

If you did not set up symbolic links in the installation procedure, enter the full path, matlabroot/bin/arch, where matlabroot is the name of the folder in which you installed MATLAB and arch is an architecture-specific subfolder, such as glnxa64.

After starting MATLAB, the desktop opens. Desktop components that were open when you last shut down MATLAB are opened on startup.

If the DISPLAY environment variable is not set or is invalid, the desktop does not display. If you have trouble starting MATLAB, see Troubleshooting topics in the Installation Guide.

You can specify the current folder upon startup as well as other options—for more information, see MATLAB Startup Folder and Startup Options.

To execute a MATLAB script, for example hello.m, via a remote ssh login, at the command shell type:

ssh local.foo.com matlab -nodisplay -nojvm < hello.m 

The ssh command pipes hello.m to MATLAB running on the remote host, local.foo.com.

Was this topic helpful?