connection port bus for simulink

5 Ansichten (letzte 30 Tage)
Robert Scott
Robert Scott am 29 Aug. 2021
Kommentiert: Jonas am 30 Aug. 2021
so i am using a lot of connection ports NOT to be confused with standard in out ports for simulink subsystems
I would like to use a bus instead but the bus creator tool does not work for connection port type.
Does anyone know of a bus port type block that works with connection blocks?
Thanks

Akzeptierte Antwort

Robert Scott
Robert Scott am 30 Aug. 2021
Its called a simscape bus and there is a block for it.

Weitere Antworten (1)

Jonas
Jonas am 30 Aug. 2021
Connection Ports are different from regular signals which have a data type, can be vectorized with a mux or can be combined in a bus (like a struct in C-code). Connection Ports cannot be combined, and will always appear separate from the regular signal in- and output ports on subsystems.
  2 Kommentare
Robert Scott
Robert Scott am 30 Aug. 2021
Actually, you are wrong.
Its called a simscape bus and there is a block for it.
Jonas
Jonas am 30 Aug. 2021
Oh that's cool! I checked the documentation for Connection Ports in Simscape but it did not have any reference to other components.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Subsystems finden Sie in Help Center und File Exchange

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by