Clear Filters
Clear Filters

SimEvents: Combining multiple entities on same port with Composite Creator

1 view (last 30 days)
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

Answers (0)

Categories

Find more on SimEvents in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!