How to switch simulink blocks using a parameter?
Show older comments
Hello,
in my Simulinkmodel I want to test different controller blocks. In my "Input Generation"-block I implemented 4 different controllers. Everytime I want to test another controller, I have to remove the input and output connections and make new connections for the new block by hand which is quite annyoing. Is there a way to to this with a parameter? Say if some constant c is equal to 1, I want Controller 1 to be connected to the input and output ports of "input generation" and so on. Thanks for your help.
Accepted Answer
More Answers (0)
Categories
Find more on Create Large-Scale Model Components in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!