Switch a mode using switches in simulink

3 views (last 30 days)
Rajat Powade
Rajat Powade on 11 Jun 2022
Answered: Sai Teja G on 5 Sep 2023
Hi I have two converters in use and want to use two switche. I am attaching my circuit diagram below . If anyone have any idea how to use switches then please help

Answers (1)

Sai Teja G
Sai Teja G on 5 Sep 2023
Hi Rajat,
I understand that you want to use the switch block in your diagram.
To achieve your desired functionality, you can utilize a 'switch' block that takes input from both the 'S1' and 'S2' blocks. Depending on the state of either block, you can determine the output. For instance, based on your requirements, you can select the output of the 'Boost converter' if 'S1' is on, and the output of the 'Bulk converter' if 'S2' is on.
For more detailed information on how to use the 'switch' block, you can refer to the documentation provided at the following link: https://www.mathworks.com/help/simulink/slref/switch.html
Hope this resolves your query!

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!