Signal Time Range-SIMULINK
조회 수: 10 (최근 30일)
이전 댓글 표시
I want my input signal only two run for a specific time say from [5 sec to 20 secs ] when my simulation time is 100 secs,, is there any way to do this
댓글 수: 0
답변 (1개)
Pavan Guntha
2021년 3월 25일
You may try to solve using the following steps:
2) Append a combinational logic to actually compare current simulation time with your time of interest.
3) Use an enabled subsystem to appropriately route the signal to output with output signal of step 2 as control signal to this block.
Here's an illustration of these steps:
As depicted in the scope, the signal (here sine signal is taken as an example) is routed to the output only in the time slot of interest.
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!