Cumulative Sum
The CUMSUM block sums the element of an input MxN matrix U along either the rows, the columns or the first non singleton dimension.
When the Sum along parameter is set to :
The equivalent function in Scilab is cumsum.
A=[1 2 3;4 5 6;7 8 9]
If the `sum`_ is along the row the result will be
B=[12;15;18]