Using a "global" variable in Simevents
Mostra commenti meno recenti
I am returning to Matlab and Simevents after a long time away and much has changed. Two questions:
- I am building a simple manufacturing model using Simevents. I am using entity-specific attributes. I addition I would like some Event Actions to be able to access what I'm calling (possibly wrongly) global variables. i.e. multiple blocks can access the same variable. This might be a counter for a particular type of product for example. Could someone please point me in the right direction?
- Possibly related to above how do I access simulation time within the blocks?
Many thanks for your help
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Discrete-Event Simulation in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!