Access Model Workspace Variable through C API

1 次查看(过去 30 天)
Model workspace variable are per definition non-tunable. However, variables (both simulink signals and parameters) in model workspaces can be still of type SimulinkGlobal or ExportedGlobal. In the generated code, these variables become included in the struct with other tunable parameters. But when I generate code with C API, they do not appear in rtDataAddrMap where they can be accessed by C API. Is there any possibility to do so?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Event Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by