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

5 views (last 30 days)
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?

Accepted Answer

Krishna Akella
Krishna Akella on 25 Jun 2019
Hi Kar,
Are you looking for something like this?

More Answers (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi on 25 Jun 2019
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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!