Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.

Introduced before R2006a