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

You can specify the initial working folder 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 matlab -nodisplay -nojvm < hello.m 

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

See Also

Was this topic helpful?