Hauptinhalt

Simulink.lookuptable.StructTypeInfo

Configure settings for structure type that lookup table object uses in generated code

Description

A Simulink.lookuptable.StructTypeInfo object controls the structure type that the generated code creates to store data for lookup table objects. The Simulink.lookuptable.StructTypeInfo object is stored in the StructTypeInfo property of a Simulink.LookupTable object or Simulink.Breakpoint object. Use these parent objects to store and configure a lookup table for ASAP2 and AUTOSAR code generation.

A Simulink.LookupTable object appears as a structure in the generated code when you set its BreakpointsSpecification property to "Explicit values". A Simulink.Breakpoint object appears as a structure in the generated code when you set its SupportTunableSize property to true.

Creation

When you create a Simulink.LookupTable or Simulink.Breakpoint object, a Simulink.lookuptable.StructTypeInfo object is created as the value of its StructTypeInfo property.

Properties

expand all

Scope of the structure type definition, specified as "Auto","Exported", or "Imported".

Set the data scope to "Imported" or "Exported" to avoid potential MISRA C:2012 violations.

Data Types: char | string

Name of the header file that contains the structure type definition, specified as a character vector or string scalar.

Example: "myHeader.h"

Data Types: char | string

Name of the structure type, specified as a character vector or string scalar.

Data Types: char | string

Version History

Introduced in R2016b