Basic Program Components


MATLAB® CommandsCommand syntax, multiple commands per line, assigning to multiple outputs, commands that call functions
VariablesGuidelines for creating variables; global and persistent variables; variable scope and lifetime
KeywordsReserved words that you should avoid using
Special ValuesFunctions that return constant values, like pi or inf
OperatorsArithmetic, relational, and logical operators
MATLAB® ExpressionsExecuting user-supplied strings; constructing executable strings, shell escape functions
Regular ExpressionsA versatile way to search and replace character strings
Comma-Separated ListsUsing lists with structures and cell arrays to simplify your code
Program Control StatementsUsing statements such as if, for, and try-catch to control the code path your program follows
Symbol ReferenceUsing statements such as if, for, and try-catch to control the code path your program follows
Internal MATLAB® FunctionsDescription of the M-file, built-in, and overloaded function types supplied with MATLAB®
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS