how to write conditional commands in simulink block diagrams

2 Ansichten (letzte 30 Tage)
hamza ünsal
hamza ünsal am 28 Mär. 2018
Beantwortet: Birdman am 29 Mär. 2018
how to write conditional commands in simulink block diagrams

Antworten (1)

Birdman
Birdman am 29 Mär. 2018
There are lots of ways to write conditional commands in Simulink. For instance, you can use Logic Operator block, If Else block, Compare To block, etc. What I suggest you is to use a MATLAB Function block since it is really easy to implement conditions as if you are writing code in MATLAB command line. Just form your logic and implement it there.

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by