How to multiply a bus by a constant and still retain signal names

14 views (last 30 days)
Seems like a really simple thing, but I can't figure it out. How can I multiply a bus by a gain or a constant and have the output as a bus that retains the same names as the input? When I put a gain block on a bus, the output becomes a vector with no signal names. On the other hand using a Bus assignment block doesn't solve the problem since one would still have to split out the individual signals in the bus and then multiply them. Any ideas?
  1 Comment
Vivek
Vivek on 14 Nov 2014
Ah! I may have answered my own question within 5 minutes of asking it. Here's a screen shot

Sign in to comment.

Answers (3)

Vivek
Vivek on 14 Nov 2014
That makes it clear.

Vivek
Vivek on 14 Nov 2014
That makes it clear.

Vivek
Vivek on 14 Nov 2014
That makes it clear.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!