isempty

Determine if tscollection is empty

Description

example

TF = isempty(tsc) returns a logical 1 (true) when tsc does not contain any timeseries members or a time vector, and 0 (false) otherwise.

Examples

collapse all

Create a tscollection object and determine if it is empty.

ts = timeseries();
tsc = tscollection(ts);
TF = isempty(tsc)
TF = logical
   1

Input Arguments

collapse all

Input tscollection, specified as a scalar.

Introduced before R2006a