How to create a bus communication with System Composer ?

13 ビュー (過去 30 日間)
Frédéric Schenker
Frédéric Schenker 2021 年 7 月 5 日
回答済み: Josh Kahn 2021 年 9 月 7 日
Hello,
I'm beginner with System Composer and I am trying to create a bus communication between 2 slaves and 1 master. The connector elements only allow a port-to-port connection. I don't find how to represent the 2 slaves/1 master architecture with the model.
Is there a solution for this ? or an workaround if there is no solution ?
Thanks in advance

回答 (2 件)

Yongjian Feng
Yongjian Feng 2021 年 7 月 5 日
編集済み: Yongjian Feng 2021 年 7 月 5 日
Yes, it is doable. First create the bus from the source to the first destination.
Then hold down the control key of your keyboard and then click on any point of the bus. Now you can drag to the second destination.
  2 件のコメント
Yongjian Feng
Yongjian Feng 2021 年 7 月 6 日
There are complex cases to handle if changing direction or bidirection are supported.
Please accept the answer if it works.
Thanks,
Yongjian

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


Josh Kahn
Josh Kahn 2021 年 9 月 7 日
Hi Frédéric,
To go from one output to many inputs, you can branch the signal by right-clicking the connector and dragging to the next port.
To go from many outputs to one input, you must first use an interface adapter:
Hope this helps!
Josh

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by