Assigning Attributes to the entity in simulink
Ältere Kommentare anzeigen
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?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Discrete-Event Simulation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!