Two Step functions in Different Times , or reset a subsystem block
Ältere Kommentare anzeigen
I have a simple model with two Step functions , one enabled subsystem. one step is outside subsystem with a value of 1, and another step is inside the subsystem with value 1. I am monitoring both steps in scope. When i run simulation output becomes 1 at 1 sec in both steps. But I need to do that after first step executes in 1 seconds , the second step inside the block should execute so the output from 2nd step will be 2 secs delayed. (why the both steps execute at the same time , even in enabled-subsystem )
1 Kommentar
Stephen23
am 28 Mai 2015
Here is the text of the original question, just in case Safiya decides to delete the text of this question too (like this one):
I have a simple model with two Step functions , one enabled subsystem. one step is outside subsystem with a value of 1, and another step is inside the subsystem with value 1. I am monitoring both steps in scope. When i run simulation output becomes 1 at 1 sec in both steps. But I need to do that after first step executes in 1 seconds , the second step inside the block should execute so the output from 2nd step will be 2 secs delayed. (why the both steps execute at the same time , even in enabled-subsystem )
Akzeptierte Antwort
Weitere Antworten (1)
Kaustubha Govind
am 15 Feb. 2012
0 Stimmen
Perhaps your control signal to the Enabled Subsystem enables it immediately? Make sure that the control signal is enabled only after 2 secs.
1 Kommentar
Safiya
am 16 Feb. 2012
Kategorien
Mehr zu Target Computer Setup finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!