Access Model Workspace Variable through C API

1 vue (au cours des 30 derniers jours)
Benjamin
Benjamin le 15 Juil 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?

Réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by