Access Model Workspace Variable through C API

1 Ansicht (letzte 30 Tage)
Benjamin
Benjamin am 15 Jul. 2016
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?

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by