Dataset length

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Purpose

Returns the length of the data field in a DataSet object.

Synopsis

l = length(x);

Description

Returns the length of a DataSet .data field. It is equivalent to MAX(SIZE(X)) for non-empty arrays and 0 for empty ones. See built-in Matlab function LENGTH for more information.

See Also

dataset_end, dataset_isempty, dataset_size, dataset_subsref, dataset_ndims