How to use bolean in simscape switch?

23 vues (au cours des 30 derniers jours)
Tony
Tony le 16 Jan 2026 à 20:08
Commenté : Tony le 20 Jan 2026 à 10:13
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

Réponses (1)

Sabin
Sabin le 19 Jan 2026 à 21:45
Use a Data Type Conversion block to convert the boolean signal to double.
  1 commentaire
Tony
Tony le 20 Jan 2026 à 10:13
Dear Sabin,
Thank you for your answer
Best regards

Connectez-vous pour commenter.

Produits


Version

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by