SimEvents: Combining multiple entities on same port with Composite Creator

1 次查看(过去 30 天)
Hello In Simevents, how can I use the Composite Creator to combine several instances of the same entity. Example: I have 2 input ports on the Block. I want to combine several Spanners into one ToolKit. The ToolKit is the main entity on port 1. On port 2 I want to add 4 spanners in one go, without having to define ports for each. I would like the number of spanners to be set somewhere else in the model and it will determine how many spanners will be combined with the ToolKit.
Another example: a supermarket wants to promote items by combining them. The new package will contain 1 bottle of shampoo and 3 bars of soap.
Many thanks

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 SimEvents 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by