getAllFunctionInterfaceTypes
Class: coder.codedescriptor.CodeDescriptor
Namespace: coder.codedescriptor
Return function interface types
Syntax
allFunctionInterfaceTypes = getAllFunctionInterfaceTypes(codeDescObj)
Description
returns a list of the function interface types. The returned list is not specific to
any model.allFunctionInterfaceTypes
= getAllFunctionInterfaceTypes(codeDescObj
)
Input Arguments
Output Arguments
Examples
Create a coder.codedescriptor.CodeDescriptor
object for the
required model which is built, then list the available function interface types.
Open the
CustomCodeComments
model.openExample('CustomCodeComments')
Build the model.
slbuild('CustomCodeComments')
Create a
coder.codedescriptor.CodeDescriptor
object for the required model.codeDescObj = coder.getCodeDescriptor('CustomCodeComments')
Return a list of available function interface types.
allFunctionInterfaceTypes = getAllFunctionInterfaceTypes(codeDescObj)
allFunctionInterfaceTypes
has these values:{'Allocation'} {'Initialize'} {'Output' } {'Update' } {'Terminate' }
Version History
Introduced in R2018a