Hello, I am begginer in using simulink and I want that to simulate how a D flip-flop works. The question is how can i make a variable boolean value for the D-input of flip flop, i tried to use a constant and make it boolean but she stays only in 1 or 0 no switched value.

 採用された回答

stozaki
stozaki 2020 年 11 月 1 日
編集済み: stozaki 2020 年 11 月 1 日

0 投票

If you just want to switch the boolean value, you can do it with the ManualSwitch block. You can double-click the Manual Switch while running the simulation to switch the values.
However, it is not possible to create complex simulation patterns this way, so I recommend using the FromWorkSpace and Signal Generator blocks.

1 件のコメント

Beita Iulian
Beita Iulian 2020 年 11 月 1 日
Thank you very much!

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeModeling についてさらに検索

製品

リリース

R2016a

タグ

質問済み:

2020 年 11 月 1 日

コメント済み:

2020 年 11 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by