coder.Type class
Package: coder
Represent set of MATLAB values
Description
Specifies the set of values that the generated code should accept.
Use only with the codegen
-args
option.
Do not pass as an input to a generated MEX function.
Construction
Note
You can also 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.
coder.Type
is an abstract class. To create
instances of coder.Type
class, you can use coder.typeof
(Fixed-Point Designer), and coder.newtype
(Fixed-Point Designer) functions.
The following are the instances of coder.Type
class.
coder.CellType
(Fixed-Point Designer)coder.ClassType
(Fixed-Point Designer)coder.Constant
(Fixed-Point Designer)coder.EnumType
(Fixed-Point Designer)coder.FiType
(Fixed-Point Designer)coder.PrimitiveType
(Fixed-Point Designer)coder.StructType
(Fixed-Point Designer)
Properties
|
Class of values in this set |
Copy Semantics
Value. To learn how value classes affect copy operations, see Copying Objects.