Which simulink block will take feedthrough value as input

I don have idea which blok will initiall take a value from workspace and in the next iteration it has to take value as input from simulation outpiut?

답변 (1개)

TAB
TAB 2012년 12월 13일

0 개 추천

There are many such blocks, for example Unit Delay block which has Initial value field which can be a constant value or a workspace variable. It takes this value in 1st iteration, after that it take input value.
Which type of block you are looking for ?

댓글 수: 7

Ya Presently i have unit delay block oly,,,but i have bug by using that,,,it works nicely as u said,,but meanwhile i want to pause my simulation and reinitialize some variables of simulink againmmmthat time my unit delay will start from intial condition value ,which i have set in the unit delay block,,but i want to continue my simulation after pausing with data wher unit delay block value was paused,,,
Then using set_param, reset the intitial value of unit delay block.
It is not clear from your words that, either you want initial value of unit delay or its input value after resuming the simulation.
When you pause and resume the simulation, simulink will never reset the output of unit delay to initial value.
Unit delay output will be its delayed input value after resuming the simulation.
no,,its really setting to initial value,,,i have been trying it to set to paused value from last two days,,,
TAB
TAB 2012년 12월 13일
편집: TAB 2012년 12월 13일
I just tried roughly. Output of unit delay not set to initial value when I pause and resume the simulation.
@TAB I don know then my logic may giving it to start from initial
TAB
TAB 2012년 12월 14일
편집: TAB 2012년 12월 14일
Can you attach the snapshot of your logic here ? It is hard to guess what you are doing wrong without seeing code/model.

댓글을 달려면 로그인하십시오.

태그

질문:

2012년 12월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by