isempty

Class: dataset

True for empty dataset array

The dataset data type might be removed in a future release. To work with heterogeneous data, use the MATLAB® table data type instead. See MATLAB table documentation for more information.

Syntax

tf = isempty(A)

Description

tf = isempty(A) returns true (1) if A is an empty dataset and false (0) otherwise. An empty array has no elements, that is prod(size(A))==0.

See Also

Was this topic helpful?