Simulink: Bus to Vector

1 view (last 30 days)
Tolutola
Tolutola on 12 Dec 2012
Commented: Christian on 29 Aug 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.

Accepted Answer

TAB
TAB on 12 Dec 2012
Separate the vector elements using Demux block and combine them again to bus using Bus Creator.
  2 Comments
Tolutola
Tolutola on 12 Dec 2012
Thanks!
Christian
Christian on 29 Aug 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!

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!