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?
댓글 수: 0
채택된 답변
추가 답변 (1개)
Abdolkarim Mohammadi
2019년 6월 25일
댓글 수: 2
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete-Event System Objects에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!