Represent the 'Selector' block in simulink as matlab code?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
How to represent the 'Selector' block in simulink as a matlab code?
For ex.: 'Sum' block could be coded like 'out = in1 + in2'.
Answers (1)
KVM
on 14 Jun 2018
0 votes
1) If else 2) Switch Case
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!