This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this 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 matlab -nodisplay -nojvm < hello.m 

The ssh command pipes hello.m to MATLAB running on the remote host, The -nodisplay option starts MATLAB without the desktop.

See Also

Was this topic helpful?