How to use bolean in simscape switch?

Dear Community,
I am migrating my former model from SPS to Simscape Electrical and I a bit mess.
How to open or close a switch using bolean data?
Can you help me with this?
Thanks in advance

回答 (1 件)

Sabin
Sabin 2026 年 1 月 19 日

1 投票

Use a Data Type Conversion block to convert the boolean signal to double.

1 件のコメント

Tony
Tony 2026 年 1 月 20 日
Dear Sabin,
Thank you for your answer
Best regards

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

カテゴリ

製品

リリース

R2025b

質問済み:

2026 年 1 月 16 日

コメント済み:

2026 年 1 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by