coder.FiType Class
Namespace: coder
Superclasses: coder.ArrayType
Represent set of MATLAB fixed-point arrays acceptable for input specification
Description
Objects of coder.FiType
specify the fixed-point array values that the
generated code accepts. Use objects of this class only with the -args
options of the codegen
command. Do not pass as an input to the
generated MEX function.
Creation
creates
a t
= coder.typeof(v
)coder.FiType
object representing a set of fixed-point
values whose properties are the same as the fixed-point input v
.
creates a t
= coder.typeof(v
,sz
, variableDims
)coder.FiType
object with upper bound sizes specified by
sz
and variable dimensions indicated in variableDims
.
If sz
specifies Inf
for a dimension, then the size of
the dimension is unbounded and variable size. When sz
is
[]
, the upper bound sizes of v
do not change. If you
do not specify the variableDims
, the bounded dimensions of the type are
fixed. When variableDims
is a scalar, this function applies this value to
the bounded dimensions that are not 1
or 0
, which are
fixed.
creates a t
= coder.newtype('embedded.fi',numerictype,sz
,variableDims
)coder.FiType
object representing a set of fixed-point values with
numerictype
and upper bound sizes sz
and variable
dimensions indicated in variableDims
. If sz
specifies
Inf
for a dimension, then the size of the dimension is unbounded and the
dimension is variable size. If you do not specify the variableDims
, the
bounded dimensions of the type are fixed. When variableDims
is a scalar,
this function applies this value to the bounded dimensions that are not 1
or 0
, which are fixed.
creates a t
= coder.newtype('embedded.fi',numerictype,sz
,variableDims
,Name=Value)coder.FiType
object representing a set of fixed-point values with
additional options specified by one or more name-value pair arguments. Name
is a property name and Value
is the corresponding value. You can specify
several name-value arguments in any order as
Name1=Value1,…,NameN=ValueN
.
Note
You can create and edit coder.Type
objects interactively by using the
Coder Type Editor. See Create and Edit Input Types by Using the Coder Type Editor.
Input Arguments
Name-Value Arguments
Properties
Examples
Version History
Introduced in R2011a