Main Content
isempty
(Not Recommended) True for empty dataset array
The dataset
data type is not recommended. 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
.