Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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, type matlabroot/bin/matlab, where matlabroot is the name of the folder in which you installed MATLAB.

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 Installation topics in the Installation Guide.

You can specify the initial working folder and other options — for more information, see MATLAB Startup Folder and Specify 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. The -nodisplay option starts MATLAB without the desktop.

See Also

Was this topic helpful?