이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
셀형 배열
코드 생성기는 셀형 배열을 동종 또는 이종으로 분류합니다. 동종 셀형 배열은 생성된 코드에서 배열로 표현됩니다. 이종 셀형 배열은 생성된 코드에서 구조체로 표현됩니다. 셀형 배열을 분류하기 위해 코드 생성기는 요소의 속성(클래스, 크기, 실수/복소수 여부)과 기타 인자(예: 프로그램에서 셀형 배열을 사용하는 방식)를 고려합니다. Code Generation for Cell Arrays 항목을 참조하십시오.
함수
coder.varsize | Declare variable-size data |
클래스
coder.CellType | Represent set of MATLAB cell arrays |
도움말 항목
- Code Generation for Cell Arrays
The classification as homogeneous or heterogeneous determines how the cell array is represented in the generated code and how you can use the cell array.
- Control Whether a Cell Array Is Variable-Size
Create variable-size cell arrays or force cell arrays to be variable-size.
- Cell Array Limitations for Code Generation
Adhere to code generation restrictions for cell arrays.
문제 해결
Unable to Determine That Every Element of Cell Array Is Assigned
Troubleshoot cell array assignment for a variable-size cell array created with
cell
.