Class: coder.codedescriptor.CodeDescriptor
Package: coder.codedescriptor
Return data interface types
allDataInterfaceTypes = getAllDataInterfaceTypes(codeDescObj)
returns a list of the data interface types. This list is not specific to
any model.allDataInterfaceTypes
= getAllDataInterfaceTypes(codeDescObj
)
Create a coder.codedescriptor.CodeDescriptor
object for the
required model that is built, then list the available data interface types.
Build the model.
rtwbuild('rtwdemo_comments')
Create a coder.codedescriptor.CodeDescriptor
object for
the required
model.
codeDescObj = coder.getCodeDescriptor('rtwdemo_comments')
Return a list of available data interface types.
allDataInterfaceTypes = getAllDataInterfaceTypes(codeDescObj)
allDataInterfaceTypes
has these
values:
{'Inports' } {'Outports' } {'Parameters' } {'GlobalDataStores' } {'SharedLocalDataStores'} {'ExternalParameterObjects' } {'ModelParameters' } {'InternalData' }
ExternalParameterObjects
and/or
LocalParameters
. The data interface type
Parameters
consist of a consolidated list of both
types of parameters.coder.codedescriptor.CodeDescriptor
| coder.descriptor.DataInterface
| getCodeDescriptor
| getDataInterfaces
| getDataInterfaceTypes