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

4 vues (au cours des 30 derniers jours)
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 commentaires
鑫鹏
鑫鹏 le 25 Jan 2024
Modifié(e) : 鑫鹏 le 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.
鑫鹏
鑫鹏 le 25 Jan 2024
May I ask why designers do not allow physical links to create branches?

Connectez-vous pour commenter.

Réponse acceptée

Josh Kahn
Josh Kahn le 25 Jan 2024
Modifié(e) : Josh Kahn le 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 commentaire
鑫鹏
鑫鹏 le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur System Composer dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by