how to assign the service time value of the entity server to the entity attribute?
1 view (last 30 days)
Abdolkarim Mohammadi on 5 Sep 2021
You can create a Simulink function, whose input port is connected to the output of the random number source. Then in the generation event action of the Entity generator block, you get the random number generated by calling the Simulink function. For example:
entity.ServiceTime = GetRandomServiceTime ();