How can I modify programmatically model data design ?
1 次查看(过去 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:
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!