Quantcast

Documentation Center

  • Trial Software
  • Product Updates

isempty

Class: categorical

True for empty categorical array

The nominal and ordinal array data types might be removed in a future release. To represent ordered and unordered discrete, nonnumeric data, use the MATLAB® categorical data type instead.

Syntax

TF = isempty(A)

Description

TF = isempty(A) returns true (1) if A is an empty categorical array and false (0) otherwise. An empty array has no elements, that is numel(A)==0.

See Also

|

Was this topic helpful?