Installation guide

3 Running Functions Command Window and History
Note that if you use the help function, function names are shown in all
uppercase, for example,
PLOT, solely to distinguish them. Some functions for
interfacingtoJavadousemixedcaseandtheM-filehelpanddocumentation
accurately reflect that.
Examples. The directory
first is at the top of the s earch path and contains
the file
A.m.Ifyoutypea instead of A, MATLAB runs A.m but issues a
warning. When you type
a again during that session, MATLAB runs A.m but
does not show the warning.
Add the directory
second after first on the s earch path, with the file a.m in
second. The directory first contains A.m,whilesecond contains a.m Type a.
MATLAB runs
a.m but displays a warning the first time you do this.
Spaces in Expressions
Blank spaces around operators such as -, :,and(), are optional, but they
can improve readability. For example, MATLAB inte r prets the following
statements the same way.
y = sin (3 * pi) / 2
y=sin(3*pi)/2
Syntax Highlighting
Some en tries appear in different colors to help you b etter f ind eleme n ts, such
as matching
if/else statements. This is known as syntax highlighting. You
can change the colors using preferences. Note that output does not appear
with syntax highlighting, except for errors. For more information, see “Colors
Preferences for Desktop Tools” on page 2 -70.
3-16