connection port bus for simulink
4 次查看(过去 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?
Thanks
0 个评论
采纳的回答
更多回答(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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!