
Simulink doubt
조회 수: 16 (최근 30일)
이전 댓글 표시
Guys is there anyway of doing an operation in simulink one second after it has begun?
댓글 수: 0
채택된 답변
TAB
2012년 3월 6일
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
추가 답변 (3개)
Kaustubha Govind
2012년 3월 5일
It's not clear exactly what you're trying to do, but my best bet is to suggest the Unit Delay block.
댓글 수: 0
Danilo NASCIMENTO
2012년 3월 5일
댓글 수: 1
Kaustubha Govind
2012년 3월 5일
I think my answer here may apply to you: http://www.mathworks.in/matlabcentral/answers/13200-shifting-a-wave-in-time-domain-in-simulink
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!