How can I modify programmatically model data design ?

조회 수: 1(최근 30일)
Adrien GOEPPEL
Adrien GOEPPEL 2022년 5월 24일
댓글: Adrien GOEPPEL 2022년 5월 24일
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 !

채택된 답변

Fangjun Jiang
Fangjun Jiang 2022년 5월 24일
get_param('ModelName','DataDictionary')
set it to be empty will force to use base workspace
set_param('ModelName','DataDictionary','')
  댓글 수: 1
Adrien GOEPPEL
Adrien GOEPPEL 2022년 5월 24일
It works just fine ! Thank you for your fast answer !

댓글을 달려면 로그인하십시오.

추가 답변(0개)

태그

제품


릴리스

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by