True for linear model with time delays


B = hasdelay(sys)
B = hasdelay(sys,'elem')


B = hasdelay(sys) returns 1 (true) if the model sys has input delays, output delays, I/O delays, or internal delays, and 0 (false) otherwise. If sys is a model array, then B is true if least one model in sys has delays.

B = hasdelay(sys,'elem') returns a logical array of the same size as the model array sys. The logical array indicates which models in sys have delays.

Introduced before R2006a

Was this topic helpful?