isempty (Control Design and Simulation Module, MathScript Function)
Member of the info class.
Syntax
isemp = isempty(SysIn)
Description
Determines whether a system model is empty.
Inputs
Name | Description |
SysIn | Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form. |
Outputs
Name | Description |
isemp | Returns 1 if the SysIn model is empty. This function returns 0 if the SysIn model is not empty. isemp is a Boolean. |
Examples
SysIn = tf(1, [5 6])isemp = isempty(SysIn)