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

Respuestas (1)

Sabin
Sabin el 19 de En. de 2026

1 voto

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

1 comentario

Tony
Tony el 20 de En. de 2026
Dear Sabin,
Thank you for your answer
Best regards

Iniciar sesión para comentar.

Productos

Versión

R2025b

Etiquetas

Preguntada:

el 16 de En. de 2026

Comentada:

el 20 de En. de 2026

Community Treasure Hunt

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

Start Hunting!

Translated by