Simulink conditional pass-through
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I need to be able to destroy Simulink samples or pass them through based on a condition. I am not aware of a block that can do that, though, so I tried to find a "router" block that would act like a reverse "switch". One output would go the downstream processing and one output would go to a terminator block.
It appears that there is no such thing as a "router" block. Have I just not found it? Is there another way to accomplish what I'm trying to do?
Thanks for your time.
1 commentaire
Walter Roberson
le 5 Nov 2012
Please use better tags for this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags
Réponse acceptée
Ryan G
le 26 Oct 2012
You can perform conditional execution with the merge block seen in that link. There are a number of ways to actually do this, it is really dependent on the application which one might be best.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Sources 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!