필터 지우기
필터 지우기

Unit delay timer

조회 수: 2 (최근 30일)
john
john 2012년 3월 21일
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.

답변 (1개)

K E
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
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 CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by