How to create bus object within MATLAB discrete-event system, without having to load it in workspace?

2 ビュー (過去 30 日間)
I know that in MATLAB discrete-event system blocks, the entities are bus objects and I know that I can create bus objects in the base workspace and use them as entities to include attributes. I want to know that is there a way to create the bus object (the structured entity) within the source code of the MATLAB discrete-event system block?

採用された回答

Krishna Akella
Krishna Akella 2019 年 6 月 25 日
Hi Kar,
Are you looking for something like this?
Regards,
Krishna

その他の回答 (1 件)

Abdolkarim Mohammadi
Abdolkarim Mohammadi 2019 年 6 月 25 日
My question is that can I generate entities and attributes (bus objects) with DES block without predefining them in the base workspace? Something like the EntityGenerator block whose entities are not explicitly defined in the base workspace.
  2 件のコメント
Krishna Akella
Krishna Akella 2019 年 6 月 25 日
Ok, I understand the question now. You do not want to predefine a bus object in the base workspace and somehow would like to register a data type directly from within the DES block instead.
I don't know if that is possible, but I was wondering, why you wouldn't want to define a bus object in your base workspace? May be there is an alternative workflow that could address your problem instead.
Abdolkarim Mohammadi
Abdolkarim Mohammadi 2019 年 6 月 25 日
I already implement this workflow and I was just curious to know if there is a clearer way :)

サインインしてコメントする。

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by