- Using If subsystem, If action subsystem & merge block.
- Using Switch block
- Using Enabled subsystems
Need a help on simulink block
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hello, i want to create a code structure like below :
if(x == 1)
x=y;
z = a;
........
else
x = z;
y=a;
..........
which block i can use to generate such kind of code?
0 Kommentare
Akzeptierte Antwort
TAB
am 18 Jun. 2012
You can implement in many ways...
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Create Large-Scale Model Components finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!