How to log entity server capacity?

2 ビュー (過去 30 日間)
Alex Querfurth
Alex Querfurth 2018 年 2 月 9 日
編集済み: Arvind Narayanan 2018 年 3 月 1 日
Dear community,
How can I log the set capacity value of an entity server in SimEvents?

採用された回答

Arvind Narayanan
Arvind Narayanan 2018 年 3 月 1 日
編集済み: Arvind Narayanan 2018 年 3 月 1 日
Hi Alex,
You can log the capacity of the entity server by selecting the block in the model and then typing the following in MATLAB command line
>> get_param(gcb,'Capacity')
Additionally, if you are interested in logging the number of entities being served in the block, you can check the option in the Statistics section of the Block Parameters window. This will create an output port for the Entity Server block, which you can connect to a "To Workspace" block to log the values to the workspace. Please refer the attachment for more information.
Thanks
Arvind

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDiscrete-Event Simulation についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by