Structure Declaration

This MotoHawk™ block defines the fields for a structure, the default values for those fields, and what enumeration should be used for each field.

Block ID



MotoHawk_lib/Data Storage Blocks


See Structures for more information. 

Block Parameters

Parameter Field Values Comments/Description
Structure Name Alpha-numeric text, single-quote enclosed. Identify the structure by name.  No special characters, such as spaces, dashes, commas (underscore allowed).
Initial Value struct('Member1', uint32(0), 'Member2', uint32(0)) Use the struct command syntax to define the fields in the structure and supply initial values
Enumeration Definitions {'', {'Disabled', 'Enabled'}} Define the enumeration for the listed fields.