Installation guide

Shortcuts for MATLAB Easily Run a Group of Statements
create a shortcut for even a single function they use frequently, such as
clc to clear the Command Window.
Createashortcuttosetthesameproperties for figures you create, such as
adding a legend and setting the background color.
Create a shortcut for a long statement, such as changing the current
directory (
cd) when the pathnames are long.
C reate a shortcut for a statement you do not easily remember but need to
use.
Creating Shortcuts
This is an example of a shortcut y ou might create for a p roje ct you work on,
the Sea Temperature project. When you work on that project, you might want
to set up your environment in a certain way by running a series of statements.
Yo u create a shortcut called
sea_temp_env, which contains the statements.
Then when you work o n the project, you run the shortcut to execute all of the
statements with a single click. The statements are
more on
format long e
cd d:/mymfiles/sea_temp_project
clear
workspace
filebrowser
clc
To create a shortcut, perform the following steps:
1 From the Start button, select Shortcuts > New S hortcut.
The Shortcut Editor dialog box appears.
2 Create the shortcut by completing the dialog box.
a Provid e a shortcut name in the Label field, for example,
sea_temp_environment.
b Put the MATLAB statements in the Callback field as shown in the
following illustration. E ither type them in, or copy and paste or drag
them from a desktop tool. Edit the statements as needed. The field uses
2-33