Switch depend on time

15 ビュー (過去 30 日間)
ali alshetwi
ali alshetwi 2017 年 1 月 4 日
コメント済み: Vishwa sharma 2021 年 3 月 13 日
My simulation time is one second, but I want to switch into new input from 0.5s to 1s. please help me If you know any tool can do this feature. Thanks in advance

採用された回答

Les Beckham
Les Beckham 2017 年 1 月 4 日
Use the Clock block for the current simulation time and a Switch block to compare the time to your desired switch time.
This example will switch the output of the Switch block from 0 to 1 at 5 seconds.
  2 件のコメント
ali alshetwi
ali alshetwi 2017 年 1 月 5 日
編集済み: ali alshetwi 2017 年 1 月 5 日
Les Beckham, good work. Thank you so much
Vishwa sharma
Vishwa sharma 2021 年 3 月 13 日
Bhai tu naa hota to main kya mooh dikhata master ko.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by