Determine if model has internal delays
Check Model for Internal Delays
Build a dynamic system model of the following closed-loop system.
s = tf('s'); G = exp(-2.4*s)/(s-5); C = pid(5,0.1); sys = feedback(G*C,1);
Check the model for internal delays.
B = hasInternalDelay(sys)
B = logical 1
sys, has an internal delay because of the transport delay in the plant
hasInternalDelay returns 1.
sys — Model or array to check
dynamic system model | model array
Model or array to check for internal delays, specified as a dynamic system model or array of dynamic system models.
B — Flag indicating presence of internal delays
logical | logical array
Flag indicating presence of internal delays in input model or array, returned as a logical value or logical array.
Introduced in R2013a