Documentation Center

  • Trial Software
  • Product Updates

hasdelay

True for linear model with time delays

Syntax

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

Description

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.

See Also

|

Was this topic helpful?