connection port bus for simulink

조회 수: 1(최근 30일)
Robert Scott
Robert Scott 2021년 8월 29일
댓글: Jonas 2021년 8월 30일
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?

채택된 답변

Robert Scott
Robert Scott 2021년 8월 30일
Its called a simscape bus and there is a block for it.

추가 답변(1개)

Jonas 2021년 8월 30일
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
Jonas 2021년 8월 30일
Oh that's cool! I checked the documentation for Connection Ports in Simscape but it did not have any reference to other components.

댓글을 달려면 로그인하십시오.




Community Treasure Hunt

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

Start Hunting!

Translated by