Input do not consider first X entries Simulink

1 回表示 (過去 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 Center および File ExchangeSources についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by