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 Type Production Code Generation Software
Product TargetLink
Type Frequently Asked Questions
Information Category Working with
dSPACE Release 2017-A, 2016-B, 2016-A, 2015-B, 2015-A, 2014-B, 2014-A, 2013-B, 2013-A, Prior to 2013-A
Keywords array of structs