Main Content

이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.

셀형 배열

셀형 배열 정의 및 사용, 코드 생성 시 차이점

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

함수

coder.cstructnameName C structure type in generated code
coder.varsizeDeclare variable-size data

도움말 항목

문제 해결

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

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