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'.

Respuestas (1)

KVM
KVM el 14 de Jun. de 2018
1) If else 2) Switch Case

La pregunta está cerrada.

Productos

Versión

R2017b

Etiquetas

Preguntada:

el 14 de Jun. de 2018

Cerrada:

el 20 de Jun. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by