SimEvents: Combining multiple entities on same port with Composite Creator

1 回表示 (過去 30 日間)
Akram Najjar
Akram Najjar 2018 年 10 月 19 日
編集済み: Akram Najjar 2018 年 10 月 19 日
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 Center および File ExchangeSimEvents についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by