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

How to represent the 'Selector' block in simulink as a matlab code?
For ex.: 'Sum' block could be coded like 'out = in1 + in2'.

Réponses (1)

KVM
KVM le 14 Juin 2018

0 votes

1) If else 2) Switch Case

Cette question est clôturée.

Produits

Version

R2017b

Question posée :

le 14 Juin 2018

Clôturé :

le 20 Juin 2018

Community Treasure Hunt

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

Start Hunting!

Translated by