Main Content

Simulink.lookuptable.StructTypeInfo Class

Namespace: Simulink.lookuptable
Superclasses:

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

Description

An object of the Simulink.lookuptable.StructTypeInfo class controls the structure type that the generated code creates to store data for lookup table objects. The Simulink.lookuptable.StructTypeInfo object resides 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 the Specification property to 'Explicit values'. A Simulink.Breakpoint object appears as a structure in the generated code when you set the SupportTunableSize property to true.

Construction

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

Properties

expand all

Scope of structure type definition, specified as a character vector.

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

Data Types: char

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

Example: 'myHdr.h'

Data Types: char

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

Data Types: char

Copy Semantics

Value. To learn how value classes affect copy operations, see Copying Objects.

Version History

Introduced in R2016b