This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Input Specification

Input type, size, variable-size, complexity, constants, global variables

Functions

coder.typeofCreate coder.Type object to represent the type of an entry-point function input
coder.resizeResize a coder.Type object
coder.newtypeCreate a coder.Type object
coder.varsizeDeclare variable-size data

Classes

coder.ArrayTypeRepresent set of MATLAB arrays
coder.CellTypeRepresent set of MATLAB cell arrays
coder.ClassTypeRepresent set of MATLAB classes
coder.ConstantRepresent set containing one MATLAB value
coder.EnumTypeRepresent set of MATLAB enumerations
coder.FiTypeRepresent set of MATLAB fixed-point arrays
coder.PrimitiveTypeRepresent set of logical, numeric, or char arrays
coder.StructTypeRepresent set of MATLAB structure arrays
coder.TypeRepresent set of MATLAB values

Topics

Specify Properties of Entry-Point Function Inputs

Specify input properties so that the code generator can determine the properties of all variables.

Define Input Properties Programmatically in MATLAB File

Using the assert function to define primary function input properties

Define Cell Array Inputs

Choose how you want to specify cell array inputs.

Specify Cell Array Inputs at the Command Line

Provide an example cell array, define a cell array type, or specify a cell array constant input.

Specify Global Cell Arrays at the Command Line

Specify global cell array inputs with the -globals option.

Specify Objects as Inputs

Use the fiaccel -args option to specify the type of a value class input.

Define String Scalar Inputs

Choose how you want to specify string scalar inputs.

Generate C Code from Code Containing Global Data

Describes how to compile functions that use global data and how to synchronize global data with MATLAB

Define Input Properties Programmatically in MATLAB File

Using the assert function to define primary function input properties