How to add programmatically 'Add reference Data Dictionaries' to the simulink data dictionary
41 ビュー (過去 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 で Prepare Model Inputs and Outputs についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!