I have multi swiches in my simulation. I want to know is there any easy way to control it by maybe creating panel represent each swich to turn in and off instead I go inside the simulation and change the situation of the switch everytime?

 採用された回答

Fangjun Jiang
Fangjun Jiang 2021 年 10 月 4 日

0 投票

Use Toggle Switch or other switch blocks from Simulink Dashboard to connect to your acutal Switch blocks inside your model.

3 件のコメント

Rawaa Almajeez
Rawaa Almajeez 2021 年 10 月 4 日
I was thinking to make a screen panel pop up when I run the simulink just to control these switches because I have over 20 switches. Do you mean these blocks can do this work?
Fangjun Jiang
Fangjun Jiang 2021 年 10 月 4 日
Yes. Look at the example model in the document link.
Rawaa Almajeez
Rawaa Almajeez 2021 年 10 月 4 日
Thank you.

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

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by