different output for each condition
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Seungkyu Park
le 8 Juil 2016
Réponse apportée : Seungkyu Park
le 8 Juil 2016
How can I model below code segment with simulink blocks?
subsystem input: i1, i2, i3 subsystem output: o1
logic:
if i3 < i1 // less than i1
o1 = 1
else if i3 > i1 and i3 < i2 // b/w i1 and i2
o1 = 2
else // more than i2
o1 = 3
end
so many thanks
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Subsystems dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!