How to add programmatically 'Add reference Data Dictionaries' to the simulink data dictionary
조회 수: 30 (최근 30일)
이전 댓글 표시
I have mutiple simulink data dictionaries (sldd) files to be added as a reference dictionaries to main dictionary. I have to repeat this task mutiple times in Model Explorer. If there is a way, by running a matlab script, I coudl add these reference dictionaries at once, it would be very time saving and efficient.
댓글 수: 0
답변 (1개)
kgrunden
2020년 11월 4일
To be able to add a reference dictionary programatically, there is a function available which takes a connection to the main dictionary and the filename of the reference dictionary:
addDataSource(dictionaryObj, refDictionaryFile)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Manage Design Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!