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

답변 (1개)

KVM
KVM 2018년 6월 14일

0 개 추천

1) If else 2) Switch Case

이 질문은 마감되었습니다.

제품

릴리스

R2017b

질문:

2018년 6월 14일

마감:

2018년 6월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by