How to use Workspace Variable value instead Sldd value in Simulink model.
조회 수: 4 (최근 30일)
이전 댓글 표시
I am working on Simulink model, which has multiple Atomic subsystems, So there is NXP blocks in some of the subsystems. In subsystem while creating a variable there is only one option for a location which is sldd. but i want to create or store the variable values in base workspace. so how to store the variable in base workspace or how to use it in atomic subsystem. after that i need to go for code genaretion so that the variable should be reflected.
댓글 수: 0
채택된 답변
Fangjun Jiang
2024년 4월 12일
Check the "Enable model access to base workspace" at Model Property, External Data tab?
댓글 수: 5
Fangjun Jiang
2024년 4월 18일
Hah, here you go! Check the option at this place and you will get it. I confirmed.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!