| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
| On this page… |
|---|
On Microsoft® Windows® platforms, start the MATLAB program
by double-clicking the MATLAB shortcut
on your Windows desktop.
On Apple® Macintosh® platforms, start MATLAB by double-clicking the MATLAB icon in the Applications folder.
On UNIX®[1] platforms, start MATLAB by typing matlab at the operating system prompt.
When you start MATLAB, by default, MATLAB automatically loads all the program files provided by The MathWorks for MATLAB and other MathWorks products. You do not have to start each product you want to use.
There are alternative ways to start MATLAB, and you can customize MATLAB startup. For example, you can change the folder in which MATLAB starts or automatically execute MATLAB statements upon startup.
For More Information See Startup and Shutdown in the Desktop Tools and Development Environment documentation. |
When you start MATLAB, the desktop appears, containing tools (graphical user interfaces) for managing files, variables, and applications associated with MATLAB.
The following illustration shows the default desktop. You can customize the arrangement of tools and documents to suit your needs. For more information about the desktop tools, see Desktop Tools and Development Environment.

To end your MATLAB session, select File > Exit MATLAB in the desktop, or type quit in the Command Window. You can run a script file named finish.m each time MATLAB quits that, for example, executes functions to save the workspace.
MATLAB can display a confirmation dialog box before quitting. To set this option, select File > Preferences > General > Confirmation Dialogs, and select the check box for Confirm before exiting MATLAB.

For More Information See Quitting the MATLAB Program in the Desktop Tools and Development Environment documentation. |
[1] UNIX is a registered trademark of The Open Group in the United States and other countries.
![]() | Documentation | Matrices and Arrays | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |