Documentation

Assign Values to Structures and Fields

When assigning values to a structure, substructure, or field for code generation, use these guidelines:

 Field properties must be consistent across structure-to-structure assignments

 For structures with constant fields, do not assign field values inside control flow constructs

 Do not assign mxArrays to structures

Was this topic helpful?