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

14 ビュー (過去 30 日間)
Vivek
Vivek 2014 年 11 月 14 日
回答済み: Vivek 2014 年 11 月 14 日
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 件)

Vivek
Vivek 2014 年 11 月 14 日
That makes it clear.

Vivek
Vivek 2014 年 11 月 14 日
That makes it clear.

Vivek
Vivek 2014 年 11 月 14 日
That makes it clear.

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by