
Demux simulink (select which block gets input)
19 ビュー (過去 30 日間)
古いコメントを表示
I am looking for a block that works as a digital de-muliplexer. I have one input signal and one selector input that determines which line the input gets passed through to.

I have looked at the demux block in simulink but it does not seem to do this:
"Demux
Split vector signals into scalars or smaller vectors."
I have also looked at "Output Switch" but this only seems to take queues as input.
0 件のコメント
回答 (1 件)
A Jenkins
2014 年 4 月 21 日
Do you just need 2 outputs? Pretty simple to build your own.

2 件のコメント
A Jenkins
2014 年 4 月 22 日
編集済み: A Jenkins
2014 年 4 月 22 日
Simulink does have a switch-case block, but personally I find it cumbersome, unless you have a special need for it.
If it is easer to write in C or m, then you can do so:

参考
カテゴリ
Help Center および File Exchange で Schedule Model Components についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!