How to create a physical branch connection line between physical port in system composer?

5 views (last 30 days)
Hello,
I am working in System Composer, and I am building a system architecture that can display real physical connections, with three components: one called a sensor, and the other called main control unit 1 and main control unit 2.
On real-world devices, the physical interface on the sensor is connected to both main control unit 1 and main control unit 2. I am currently only able to connect the physical interface on Component1 (sensor) to the physical interface on Component2 (main control unit 1), but I am unable to create a branch link to connect to Component3 (main control unit 2).
I would like to know how to solve this issue, besides creating an additional physical interface on component1, are there any other methods that can be implemented?
  2 Comments
鑫鹏
鑫鹏 on 25 Jan 2024
Edited: 鑫鹏 on 25 Jan 2024
It seems that I need to create an additional virtual compoment in which Simscape model is called to implement the functions of BUS, and add multiple physical interfaces to the outer frame.

Sign in to comment.

Accepted Answer

Josh Kahn
Josh Kahn on 25 Jan 2024
Edited: Josh Kahn on 25 Jan 2024
We added support for physical connector branching in R2022b.
In releases prior to that, the recommended workaround is to use a Simscape behavior to branch the connector (must have an interface assigned to the physical ports to branch in the behavior).
Josh
  1 Comment
鑫鹏
鑫鹏 on 26 Jan 2024
Thank you for your reply.
Unfortunately, I am currently unable to upgrade to R2022B to experience this convenient feature.
Your answer perfectly solved my problem.

Sign in to comment.

More Answers (0)

Categories

Find more on System Composer in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!