| Control System Toolbox | Search  Help Desk |
| isempty | Examples See Also |
Syntax
boo = isempty(sys)
Description
isempty(sys)
returns 1 (true) if the LTI model sys has no input or no output, and 0 (false) otherwise.
Example
Both commandsisempty(tf) % tf by itself returns an empty transfer function isempty(ss(1,2,[],[]))return
1 (true) while
isempty(ss(1,2,3,4))returns
0 (false).
See Also
issiso True for SISO systems
sizeI/O dimensions and array dimensions of LTI models