Assigning Attributes to the entity in simulink
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Discrete-Event Simulation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!