numel

(method of tensor)

returns the number of tensors

Syntax

n = numel('param1',val1,'param2',val2)