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
Use a Data Type Conversion block to convert the boolean signal to double.

类别

产品

版本

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