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

5 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 SimEvents 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by