Script to create instance of bus signal and write it to the data dictionary
조회 수: 9 (최근 30일)
이전 댓글 표시
I would like write a script that does the following:
- Create an instance of a bus signal included in a data dictionary
- Set the values of the members of the bus signal to 0.
- Write this instance to the data dictionary.
Can it be done? If so, how to do it?
Thanks!
댓글 수: 0
답변 (1개)
Kavya Vuriti
2020년 3월 31일
Hi,
To create bus objects or bus elements programmatically, you could refer following documentation:https://www.mathworks.com/help/simulink/ug/create-bus-objects-programmatically.html#bvf4tak
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!