입력 사양
입력 유형, 크기, 가변 크기, 실수/복소수 여부, 상수, 전역 변수
함수
coder.typeof | Create coder.Type object to represent the type
of an entry-point function input |
coder.resize | coder.Type 객체의 크기 변경 |
coder.newtype | Create coder.Type object to represent type of an entry-point
function input |
coder.varsize | Declare variable-size data |
coderTypeEditor | Launch the Coder Type Editor dialog (R2020a 이후) |
클래스
coder.ArrayType | Represent set of MATLAB arrays acceptable for input specification |
coder.CellType | Represent set of MATLAB cell arrays |
coder.ClassType | 입력 사양에 허용되는 MATLAB 클래스 집합 표현 |
coder.Constant | Specification of constant value for code generation |
coder.EnumType | Represent set of MATLAB enumerations acceptable for input specification |
coder.FiType | Represent set of MATLAB fixed-point arrays acceptable for input specification |
coder.PrimitiveType | Represent set of logical, numeric, or character arrays acceptable for input specification |
coder.StructType | 입력 사양에 허용되는 MATLAB 구조체형 배열 집합 표현 |
coder.Type | Represent set of MATLAB values acceptable for input specification |
도움말 항목
- 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.
- Create and Edit Input Types by Using the Coder Type Editor
Define and edit
coder.Type
objects interactively. - 셀형 배열 입력값 정의하기
셀형 배열 입력값을 지정할 방법을 선택합니다.
- 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. - Specify String Scalar Inputs at the Command Line
Specify string scalar inputs at the command line.
- 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.