Mux a variable number of signals without mux block

4 ビュー (過去 30 日間)
Matthias Oe
Matthias Oe 2018 年 9 月 4 日
コメント済み: Matthias Oe 2018 年 9 月 7 日
Hello Community
I have a model that has to be modified sometimes. It is buid up of some identical subsystems which number changes during modifications. I have to collect signals from each subsystem with a mux. The way I do this until now is to manually connect every signal from a subsystem to the corresponding mux block.
I wonder whether it is possible to mux all signals automatically without the necessity to connect them all manually. what I want is something like the goto and from blocks but with the ability to connect multiple goto 's with a single from:
/-------+
signal1 -->/ goto A |
\ |
\-------+
++---> signal1
/-------+ +-------\ ||
signal2 -->/ goto A | | from A \______||---> signal2
\ | | / ||
\-------+ +-------/ ||---> signal3
++
/-------+ demux
signal3 -->/ goto A |
\ |
\-------+
Maybe somone has a idea to implement this.

回答 (1 件)

Naman Chaturvedi
Naman Chaturvedi 2018 年 9 月 7 日
I hope something like this would solve your problem.
I have used bus creator, bus selector and goto, from blocks.
  1 件のコメント
Matthias Oe
Matthias Oe 2018 年 9 月 7 日
Hello Naman Chaturvedi,
thank you for your answer, but this isn't what I want. I have updated the picture in my question to explain my request a little bit better.

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

カテゴリ

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

タグ

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by