フィルターのクリア

Matlab/Simulink - manual switch

5 ビュー (過去 30 日間)
Robin Beene
Robin Beene 2013 年 4 月 2 日
Hey! I would like to know is it possible to manually turn on the switch in simulink but only let's say after some amount of time. For example my simulation takes 180 sec, and my switch is off in start, but I want to be able to turn it on after 10 sec. So if I try turn it on between 0<t<10 nothing should happen.
  1 件のコメント
Walter Roberson
Walter Roberson 2013 年 4 月 2 日
10 seconds clock time, or 10 seconds of simulation time ?

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

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 4 月 2 日
You should use this
  2 件のコメント
Robin Beene
Robin Beene 2013 年 4 月 2 日
good, I tried it, but I managed only to bring some output variable to the control input, but I don't know how to bring "time" to the control input of this switch. My time is stored in variable tout. I need to bring tout to the control input, but I don't know how.
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 4 月 2 日
Use a clock block From Simulink/sources

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by