How to use Workspace Variable value instead Sldd value in Simulink model.

7 次查看(过去 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.

采纳的回答

Fangjun Jiang
Fangjun Jiang 2024-4-12
Check the "Enable model access to base workspace" at Model Property, External Data tab?
  5 个评论

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by