Info

此问题已关闭。 请重新打开它进行编辑或回答。

Represent the 'Selector' block in simulink as matlab code?

1 次查看(过去 30 天)
How to represent the 'Selector' block in simulink as a matlab code?
For ex.: 'Sum' block could be coded like 'out = in1 + in2'.

回答(1 个)

KVM
KVM 2018-6-14
1) If else 2) Switch Case

此问题已关闭。

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by