Unit delay timer
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
K E
2012-3-26
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 个评论
TAB
2012-3-27
Or you can use "Discrete/Integer Delay block" and provide the values of "Number of delays" from base workspace as a parameter.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!