Special Characters
Special symbols and characters
The MATLAB® language contains several special characters and symbols that you can use to perform a variety of tasks. See MATLAB Operators and Special Characters for a comprehensive summary.
MATLAB Language Syntax
@ | Create anonymous functions and function handles, call superclass methods |
. | Decimal point, element-wise operations, indexing |
... | Line continuation |
= | Variable creation and indexed assignment |
, | Command separator |
: | Vector creation, array subscripting, and for -loop
iteration |
; | Command and array separator |
! | Operating system command |
? | Obtain matlab.metadata.Class object |
% | Code comments, conversion specifier |
%{ %} | Block comments |
( ) | Command grouping, indexing |
{ } | Cell array creation, indexing |
[ ] | Array creation and concatenation, element deletion, argument assignment |
Topics
- MATLAB Operators and Special Characters
Comprehensive listing of all MATLAB operators, symbols, and special characters.