What does "entitySys.id" do in Simevent Blocks?
3 ビュー (過去 30 日間)
古いコメントを表示
Chi Wai Wong
2022 年 6 月 22 日
回答済み: Abdolkarim Mohammadi
2022 年 6 月 25 日
Hi,
What does "entitySys.id" do in Simevent Blocks?
I tried it by creating an attribute named "entity.eid" in an entity generator and input "entity.eid=entitySys.id" for event action "Generate" and ran the simulation for 1000 seconds with "Period"=1.
It gave me 1001 records in Diagnostic Viewer.
Am I correct to say "entitySys.id" is the sequencer number of the entities that generated from the entity generator?
Thank you
0 件のコメント
採用された回答
Abdolkarim Mohammadi
2022 年 6 月 25 日
Yes, that's it. It is the index for all of the entities generated within the model. They are useful when you are using SimEvents debugger, and you want to track a specific entity throughout the storages.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Discrete-Event Simulation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!