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

Antworten (1)

Sabin
Sabin am 19 Jan. 2026

1 Stimme

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

1 Kommentar

Tony
Tony am 20 Jan. 2026
Dear Sabin,
Thank you for your answer
Best regards

Melden Sie sich an, um zu kommentieren.

Produkte

Version

R2025b

Gefragt:

am 16 Jan. 2026

Kommentiert:

am 20 Jan. 2026

Community Treasure Hunt

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

Start Hunting!

Translated by