주요 콘텐츠

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

셀형 배열

셀형 배열에 대한 코드 생성

코드 생성기는 셀형 배열을 동종 또는 이종으로 분류합니다. 동종 셀형 배열은 생성된 코드에서 배열로 표현됩니다. 이종 셀형 배열은 생성된 코드에서 구조체로 표현됩니다. 셀형 배열을 분류하기 위해 코드 생성기는 요소의 속성(클래스, 크기, 실수/복소수 여부)과 기타 인자(예: 프로그램에서 셀형 배열을 사용하는 방식)를 고려합니다. Code Generation for Cell Arrays 항목을 참조하십시오.

함수

coder.varsizeResolve size incompatibility errors and declare upper bounds
coder.cstructnameName generated or externally defined structure type in C or C++ code

클래스

coder.CellTypeRepresent set of MATLAB cell arrays

도움말 항목

문제 해결

Resolve Issue: Cell Array Elements Must Be Fully Defined Before Use

Troubleshoot code generation errors when cell array elements are not defined before use.