Stateflow |
 |
Assignment Operations
The following assignment operations are supported in Stateflow action language.
Example
|
Description
|
a = expression
|
Simple assignment
|
a := expression
|
Used primarily with fixed-point numbers. See Assignment Operator := for a detailed description.
|
a += expression
|
Equivalent to a = a + expression
|
a -= expression
|
Equivalent to a = a - expression
|
a *= expression
|
Equivalent to a = a * expression
|
a /= expression
|
Equivalent to a = a / expression
|
The following assignment operations are supported in Stateflow action language when Enable C-like bit operations is selected in the properties dialog for the chart. See Specifying Chart Properties.
| Unary Operations | | Pointer and Address Operations |  |