coder.descriptor.FunctionInterface Class
Namespace: coder.descriptor
Return information about entry-point functions
Description
The function interfaces are the entry-point functions in the generated code. The
coder.descriptor.FunctionInterface
object describes various properties
for a specified function interface. The different types of function interfaces are:
Allocation: Contains memory allocation code based on the target of the model. See
model_initialize
.Initialize: Contains initialization code for the model and is called once at the start of your application code. See
model_initialize
.Output: Contains the output code for the blocks in the model. See
model_step
.Update: Contains the update code for the blocks in the model. See
model_step
.Terminate: Contains the termination code for the model and is called as part of a system shutdown. See
model_terminate
.
Creation
creates a functionInterface
= getFunctionInterfaces(codeDescObj
, functionInterfaceName
)coder.descriptor.FunctionInterface
object.
codeDescObj
is the coder.codedescriptor.CodeDescriptor
object created for the model by using the getCodeDescriptor
function.
Input Arguments
Properties
Examples
Version History
Introduced in R2018a