Unit delay timer
2 ビュー (過去 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!