How can you assign entity attribute values from a changing variable (simeventes)

2 views (last 30 days)
I have a simevents model representign manufacturing of a single type product with 14 different colors.
The value of the entity should be assigned as an order of that color comes in. I want to do this from a variable that can be changed. Is there any way to change the value of an attribute from an outside source? I have tried it with a server but those do not accept inputs except for service time.
I have also tried it uding a function subsystem using a terminator to assign the value but it does not seem to work to read and write from simulink to the workspace.
I have also tried to assign it using the data store blocks but the entity generator does not seem to accept that value.
What I essentially need is the functionality of the legacy block from 'assign attribute' using a signal port.

Answers (0)

Categories

Find more on Discrete-Event Simulation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!