hasdelay (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

hasdelay (Control Design and Simulation Module, MathScript Function)

Member of the info class.

Syntax

delayed = hasdelay(SysIn)

Description

Determines whether a system model has delay present.

Examples

Inputs

Name Description
SysIn Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form.

Outputs

Name Description
delayed Returns 1 if the SysIn model has delay present. This function returns 0 if the SysIn model does not have delay present. delayed is a Boolean.

Examples

SysIn = ss(-1, 1, 2, 0, 0.1)SysIn = set(SysIn, 'inputdelay', 4)
delayed = hasdelay(SysIn)

Related Topics

delay2z
totaldelay
get
set