coder.OutputType
Output type from an entry-point function to specify as an input type
Description
A coder.OutputType object represents the type of an entry-point
function output variable. Use coder.OutputType to specify an input for
another entry-point function. Pass the input by using the codegen
-args option. Do not pass a coder.OutputType object as an
input to a generated MEX function.
Creation
Description
Note
You can also create a coder.OutputType object interactively by
using the Coder Type Editor. See Create and Edit Input Types by Using the Coder Type Editor.
t = coder.OutputType( creates an
object that is derived from the func)coder.OutputType class to represent the
first output of the entry-point function func.
Input Arguments
Properties
Examples
Limitations
You cannot use
coder.OutputTypein the field of a structure, cell, or in an array.
Version History
Introduced in R2018b
See Also
coder.ArrayType | coder.Constant | coder.EnumType | coder.PrimitiveType | coder.StructType | coder.ClassType | coder.Type | coder.newtype | coder.typeof | codegen