How to create bus object within MATLAB discrete-event system, without having to load it in workspace?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Abdolkarim Mohammadi
am 15 Jun. 2019
Kommentiert: Abdolkarim Mohammadi
am 25 Jun. 2019
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?
0 Kommentare
Akzeptierte Antwort
Krishna Akella
am 25 Jun. 2019
Hi Kar,
Are you looking for something like this?
Regards,
Krishna
0 Kommentare
Weitere Antworten (1)
Abdolkarim Mohammadi
am 25 Jun. 2019
2 Kommentare
Krishna Akella
am 25 Jun. 2019
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.
Siehe auch
Kategorien
Mehr zu Discrete-Event System Objects finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!