Filter löschen
Filter löschen

Unit delay timer

2 Ansichten (letzte 30 Tage)
john
john am 21 Mär. 2012
I wish to have my program decide on the time delay that is needed, However I am not sure if there is a way of inputting a clock into the sampling time of the delay in simulink.

Antworten (1)

K E
K E am 26 Mär. 2012
Do you mean that prior to running your simulation, your Matlab script will calculate the delay that should be applied to an input signal? If so I believe you could use the Variable Time Delay block, and the time delay input could be read from the workspace using the From Workspace block.
  1 Kommentar
TAB
TAB am 27 Mär. 2012
Or you can use "Discrete/Integer Delay block" and provide the values of "Number of delays" from base workspace as a parameter.

Melden Sie sich an, um zu kommentieren.

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by