For a better experience on dSPACE.com, enable JavaScript in your browser. Thank you!

FAQ 762: Modeling Arrays of Structs

Question

In my legacy code, there is an array of structs. I need to access the components of the array elements in the model. If I create an array of structs in the Data Dictionary, an error message is issued during code generation.

How can I implement the access to the components of the struct array elements?

Answer

Tags

Date 2016-05-01
Software-Typ Software für Seriencode-Generierung
Produkt TargetLink
Typ FAQ (Häufig gestellte Fragen)
Informationskategorie Arbeiten mit
dSPACE Release 2017-A, 2016-B, 2016-A, 2015-B, 2015-A, 2014-B, 2014-A, 2013-B, 2013-A, Bis 2013-A
Keywords array of structs