Simulink doubt
2 views (last 30 days)
Show older comments
Guys is there anyway of doing an operation in simulink one second after it has begun?
0 Comments
Accepted Answer
TAB
on 6 Mar 2012
Put your system in 'Enabled Subsystem' and enable it after 1 sec using a unit delay block. Someting like this
Here 'Initial Condition' of unit delay block is 0, so till 1st sample time (1 Sec) its output will be 0 disabling the subsystem.
From 1 sec onwords its output will be 1 which will enable the subsystem.
0 Comments
More Answers (3)
Kaustubha Govind
on 5 Mar 2012
It's not clear exactly what you're trying to do, but my best bet is to suggest the Unit Delay block.
0 Comments
Danilo NASCIMENTO
on 5 Mar 2012
1 Comment
Kaustubha Govind
on 5 Mar 2012
I think my answer here may apply to you: http://www.mathworks.in/matlabcentral/answers/13200-shifting-a-wave-in-time-domain-in-simulink
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!