이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.
구조
정의 및 지원되는 구조체 연산
MATLAB Function 블록과 MATLAB System 블록에 변수를 구조체로 정의할 수 있습니다.
블록
MATLAB Function | Include MATLAB code in Simulink models |
MATLAB System | Include System object in model |
함수
coder.cstructname | Name C structure type in generated code |
도움말 항목
- MATLAB Function 블록의 구조체 만들기
구조체 만들기에 대한 지침을 따릅니다.
- Index Substructures and Fields
Refer to field values individually In a MATLAB Function block.
- Initialize Matrix Using a Nontunable Structure Parameter
Use a nontunable structure parameter input to initialize a matrix output.
- Attach Buses to MATLAB Function Blocks
Use structures in a MATLAB Function block.
- Pass Large Structures as Input Parameters
To avoid memory issues, pass large structures by reference.
- 코드 생성을 위한 스칼라 구조체 정의하기
스칼라 구조체에 대한 코드 생성 제한 사항을 따릅니다.
- 코드 생성을 위한 구조체 배열 정의하기
구조체 배열에 대한 코드 생성 제한 사항을 따릅니다.
- 코드 생성을 위한 구조체 정의
코드 생성을 위한 MATLAB® 코드에 구조체를 사용합니다.
- 코드 생성을 위해 허용되는 구조체 작업
코드 생성에 지원되는 구조체 작업을 사용합니다.