Starting a MATLAB Session
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® 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 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.
The Desktop
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
1 Introduction : about the desktop tools, see Chapter 7, “Desktop Tools and Development
Environment”.
Quitting the MATLAB Program:
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 nish.m each time MATLAB quits that, for example, executes functions to save the workspace.
Starting and Quitting the MATLAB® Program: Confirm Quitting
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.
Source: MathWorks