How can I modify programmatically model data design ?
2 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I'm designing a programmatical simulink generation and I use models into my simulink. However those models are linked to a Simulink Data Dictionnary and I would link them to the Base Workspace. Here you can find a Screen from the Model Explorer:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1009205/image.png)
Is there any function or command to change Define In "Data Dictionnary" to "Base Workspace".
Thanks a lot for yur support !
0 件のコメント
採用された回答
Fangjun Jiang
2022 年 5 月 24 日
get_param('ModelName','DataDictionary')
set it to be empty will force to use base workspace
set_param('ModelName','DataDictionary','')
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Programmatic Model Editing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!