Main Content
Vectors and Matrices
Nonscalar values
Vectors and matrices combine separate scalar data into a single, multidimensional signal. Modify individual elements or perform arithmetic on entire vectors and matrices. In C charts, use MATLAB® functions to perform standard matrix multiplication and division.
Topics
- Vectors and Matrices in Stateflow Charts
Process multidimensional signals.
- Specify Size of Stateflow Data
Specify the size of your Stateflow® data.
- Operations for Vectors and Matrices in Stateflow
Perform mathematical computations on vector and matrix operands.
- Declare Variable-Size Data in Stateflow Charts
Define inputs and outputs whose size can change at run time.