This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Total combined I/O delays for LTI model


td = totaldelay(sys)


td = totaldelay(sys) returns the total combined I/O delays for an LTI model sys. The matrix td combines contributions from the InputDelay, OutputDelay, and ioDelayMatrix properties.

Delays are expressed in seconds for continuous-time models, and as integer multiples of the sample period for discrete-time models. To obtain the delay times in seconds, multiply td by the sample time sys.Ts.


sys = tf(1,[1 0]);	  % TF of 1/s
sys.inputd = 2; 	  % 2 sec input delay
sys.outputd = 1.5;	  % 1.5 sec output delay
td = totaldelay(sys)
td =

The resulting I/O map is


This is equivalent to assigning an I/O delay of 3.5 seconds to the original model sys.

Introduced before R2006a

Was this topic helpful?