Input do not consider first X entries Simulink

조회 수: 2 (최근 30일)
Nicola Caldognetto
Nicola Caldognetto 2021년 5월 24일
편집: Nicola Caldognetto 2021년 6월 8일
I'm looking for a block in Simulink that let me start processing values after X number of samples.
I.E. I got a simulation running, and on a certain input port I don't want that the first 50 samples will be processed but, I want to start to process the sample from the 51. Is there a block that does that?

채택된 답변

Uday Pradhan
Uday Pradhan 2021년 5월 27일
편집: Uday Pradhan 2021년 5월 27일
Hi,
Please check the model layout below:
The "Counter" subsystem counts the number of iterations, then I have used an if-else-then block to trigger the desired subsytem (which is inside an If - action subsytem) only when the iterations exceed 50. I hope this helps.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by