Installation guide

Controlling Input
Controlling Input
In this section...
“Case and Space Sensitivity” on page 3-15
“Syntax Highlightin g” on page 3-16
“Matching Deli
miters (Parentheses)” on page 3-17
“Cut, Copy, Pas
te, a nd Undo Features” on page 3-17
“Enter M u ltipl
e Lines Without Running Them” on page 3-18
“Entering Mult
iple Functions in a Line” on page 3-18
“Entering Long Statements (Line Continuation)” on page 3-18
“Recalling Previous Lines” on page 3-19
“Tab Completion in the Com mand Window” on page 3-20
“Keyboard Shortcuts in the Command Window” on page 3-26
“Navigating Above the Command Line” on page 3-29
Case and Spac
e Sensitivity
Uppercase and Lowercase for Variables
With respect
to case, MATLAB requires an exact match for variable names.
For example,
if you have a varia ble
a, y ou cannot refer to that variable as A.
Uppercase and Lowercase for Files and Functions
With respect
to functions, filenames, objects, and classes on the search path
or in the cur
rent directory, MATLAB p refers an exact match with regard to
case. MATLA
B runs a function if y ou do not enter the function name using
the exact ca
se, but displays a warning the first time you do this.
To avoid amb
iguity and warning messages, always match the case exactly. It
is a best p ra
ctice to use lowercase only when running and naming functions.
This is esp
ecially useful when you use b oth Windows and UNIX platforms
because th
eir file systems behave differently with regard to case.
3-15