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

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 件のコメント

Vivek
Vivek 2014 年 11 月 14 日
Ah! I may have answered my own question within 5 minutes of asking it. Here's a screen shot

サインインしてコメントする。

回答 (3 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

製品

質問済み:

2014 年 11 月 14 日

回答済み:

2014 年 11 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by