이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.
애플리케이션 및 컴포넌트 인터페이스
R2026b애플리케이션과 컴포넌트는 코드 생성기가 최상위 모델로부터 생성하는 코드 단위입니다. 타깃 실행 환경에서 사용할 애플리케이션과 컴포넌트를 배포하십시오. 코드 생성기가 타깃 환경 서비스와 상호 작용할 수 있는 C 또는 C++ 코드를 생성하려면 다음을 조합하여 코드 생성기가 서비스 인터페이스 요구 사항을 인식하도록 해야 합니다.
최상위 모델의 모델 요소
Embedded Coder 사전(C 전용)에 정의된 코드 인터페이스 구성
코드 인터페이스 구성에 정의된 인터페이스와 모델 요소를 연결하는 코드 매핑
생성된 애플리케이션 및 컴포넌트 코드는 다음과 같은 생성 코드 인터페이스를 통해 타깃 환경 서비스와 상호 작용합니다.
스케줄러와 같은 타깃 소프트웨어가 호출할 수 있는 진입점 함수
플랫폼 서비스 함수와 같은 타깃 소프트웨어에 대한 함수 호출
도움말 항목
- 모델 코드 인터페이스
최상위 모델에서 코드 인터페이스를 표현합니다.
- Periodic and Aperiodic Function Interfaces
Generate callable entry-point functions for the algorithm represented by a top model.
- Startup, Reset, and Shutdown Function Interfaces
Generate callable entry-point functions for startup, reset, and shutdown processing represented by a model.
- Data Interfaces
Generate C or C++ data interface code.
- Service Interfaces
Generate C service interface code for components that interact with target environment resources. (R2022b 이후)
- Message Communication Interfaces
Generate C/C++ code to use messages for communication.
- Client-Server Communication Interfaces
Design model that uses client-server communication.
- 장치 드라이버 I/O 인터페이스
하드웨어 장치로부터 입력을 읽거나 해당 장치로 출력을 쓰는 모델을 설계하십시오.
- 다중 인스턴스화
애플리케이션 내에서 여러 인스턴스를 사용할 수 있도록 컴포넌트나 하위 컴포넌트를 설계하십시오.





