Navigation: Language Reference > Functions > Matrix >
y = rows(A);
Returns the number of rows of A.
A = [1,2;3,4;5,6];
y must be a scalar.