getFunctionInterfaceTypes
Class: coder.codedescriptor.CodeDescriptor
Package: coder.codedescriptor
Return function interface types in the generated code
Syntax
functionInterfaceTypes = getFunctionInterfaceTypes(codeDescObj)
Description
returns a list of the function interface types in the generated code. To get a list of
the available function interfaces, call
functionInterfaceTypes
= getFunctionInterfaceTypes(codeDescObj
)getAllFunctionInterfaceTypes()
.
Input Arguments
Output Arguments
Examples
Build the model.
slbuild('rtwdemo_counter')
Create a
coder.codedescriptor.CodeDescriptor
object for the required model.codeDescObj = coder.getCodeDescriptor('rtwdemo_counter')
Return a list of function interface types in the generated code.
functionInterfaceTypes = getFunctionInterfaceTypes(codeDescObj)
functionInterfaceTypes
has these values for model
rtwdemo_counter
:
{'Initialize'} {'Output' }
Version History
Introduced in R2018a