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?

Réponses (1)

TAB
TAB le 13 Déc 2012

0 votes

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 commentaires

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.
TAB
TAB le 13 Déc 2012
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 le 13 Déc 2012
Modifié(e) : TAB le 13 Déc 2012
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 le 14 Déc 2012
Modifié(e) : TAB le 14 Déc 2012
Can you attach the snapshot of your logic here ? It is hard to guess what you are doing wrong without seeing code/model.

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by