Assigning Attributes to the entity in simulink
Mostrar comentarios más antiguos
I want to generate parts from a single Entity Generator block. the attributes attached with the parts are Part type and Service Time. I have tried this

what I understood from my code is that the first entity generated will get Type attribute randomly from 1 to 3 and service time will be 2 but I want that each entity generated with attribute Type 1, e.g. get service time=2 and entity with Type 2 get Service time=4 etc. But I dont know how to write the syntax. Can anybody guide me please?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Discrete-Event Simulation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!