Simulink: Bus to Vector

4 vues (au cours des 30 derniers jours)
Tolutola
Tolutola le 12 Déc 2012
Commenté : Christian le 29 Août 2014
I need to convert a vector to a bus signal using an already specified bus object.
Simulink has a bus to vector block but there seems to be no way of doing the opposite.
I'd appreciate any ideas.

Réponse acceptée

TAB
TAB le 12 Déc 2012
Separate the vector elements using Demux block and combine them again to bus using Bus Creator.
  2 commentaires
Tolutola
Tolutola le 12 Déc 2012
Thanks!
Christian
Christian le 29 Août 2014
I have exactly the same question and tried this solution, but how can I make the Bus Creator block use the bus element names of the bus object? Thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by