Development Environment |
Case and Space Sensitivity
MATLAB is case sensitive. For example, you cannot run the function Plot
but must instead use plot
. Similarly, the variable a
is not the same as the variable A
. Note that if you use the help
function, function names are shown in all uppercase, for example, PLOT
, solely to distinguish them. Do not use uppercase when running the functions. Some functions for interfacing to Java actually used mixed case and the M-file help accurately reflects that.
Blank spaces around operators such as -
, :
, and ( )
, are optional, but they improve readability.
Controlling Input and Output | Entering Multiple Functions in a Line |