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