Am not sure how to get started on writing a matlab function for a custom N server. The simevent N server service control does not work for me in that when a preemption signal is received, it disables all servers, what i want is to be able cycle through clients being served and preempt the lower priority users in the system. what i need help with is a function that stores an entity for a period of time depending on its service time. once that time is up, the entity exits the block.
MATLAB: Customized N server.
n server preemptionsimeventsimulink
Best Answer