How do I create an entity server with preemption that has a capacity greater than 1?

4 ビュー (過去 30 日間)
Striker121
Striker121 2017 年 10 月 24 日
回答済み: Julia Antoniou 2017 年 10 月 26 日
Hi,
I would like to create an entity server with preemption that has a capacity greater than one. Currently, when I change the capacity to greater than 1, I get the following error "Preemption is only supported for a single server". Any help you can offer to help me achieve this would be greatly appreciated.
PS I have matlab 2017a

回答 (1 件)

Julia Antoniou
Julia Antoniou 2017 年 10 月 26 日
The "Entity Server" block cannot have a capacity greater than 1 if the block also permits preemption. Navigate to the "Preemption" tab of the entity server block parameters dialog, and deselect the "Permit preemption based on attribute" checkbox. Then, you should be able to change the capacity to a number greater than 1.

カテゴリ

Help Center および File ExchangeDiscrete-Event Simulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by