Description
The MATSUM block returns the sum of the element of an input
matrix/vector.
When the Sum along is set to:
- 0 (all) the block outputs the sum of all the elements of the
matrix. The output is then a scalar.
- 1 (lines) the block is a row-wise sum. The output is a row
vector.
- 2 (Columns) the block is a column-wise sum. The output is a
column vector.
The equivalent function of this block in Scilab is `sum`_.