Main Content
isempty
Determine whether dynamic system model is empty
Syntax
isempty(sys)
Description
isempty(sys)
returns a
logical value of 1
(true
) if
the dynamic system model sys
has no input or no
output, and a logical value of 0
(false
)
otherwise. Where sys
is a frd
model, isempty(sys)
returns 1
when
the frequency vector is empty. Where sys
is a model
array, isempty(sys)
returns 1
when
the array has empty dimensions or when the LTI models in the array
are empty.
Examples
Version History
Introduced before R2006a