coder.descriptor.DataInterface Class
Namespace: coder.descriptor
Return information about different types of data interfaces
Description
The coder.descriptor.DataInterface
object describes various properties
for a specified data interface in the generated code. The different types of data interfaces are:
Root-level inports and outports: An interface between the model and external models or systems, for exchanging data.
Parameters: Local and global parameters that describe the data for the block, lookup table, and the associated breakpoint set data.
Data Stores: A repository to store global and shared data that can be written and read.
Internal data: Internal data structures including DWork vectors, block I/O, and zero-crossings.
Creation
creates a dataInterface
= getDataInterfaces(codeDescObj
, dataInterfaceName
)coder.descriptor.DataInterface
object. The
codeDescObj
object is the
coder.codedescriptor.CodeDescriptor
object created for the model by using
the getCodeDescriptor
function.
Input Arguments
Properties
Limitations
A bitfield data structure is generated if you select these configuration parameters:
Pack Boolean data into bitfields
Use bitset for storing state configuration
Use bitset for storing Boolean data
If the coder.descriptor.DataInterface
represents a bitfield data
structure, the Implementation property of the
coder.descriptor.DataInterface
object is empty.
Examples
Version History
Introduced in R2018a