이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
생성 코드 인터페이싱
C API 인터페이스와 Code Descriptor 인터페이스를 사용하여 생성 코드와 외부 애플리케이션 코드 간에 데이터를 교환합니다.
일부 애플리케이션은 생성 코드와 외부 애플리케이션 코드 간에 데이터를 교환해야 합니다. MATLAB code descriptor API를 사용하여 생성 코드에 대한 메타데이터를 얻습니다. C API를 사용하여 런타임에 생성된 코드와 인터페이싱하고 타깃 플랫폼에서 모델 코드를 실행하는 동안 모델 요소를 모니터링하고 조정합니다.
클래스
함수
도움말 항목
C API 인터페이스
- Get Started with C API
Learn the principles of using C API to interact with the generated model code.
- Configure Model to Generate C API Code
Learn how to configure your model to include different types of C API elements in the generated code.
- Write External Code to Access Generated C API Code
Learn how to write external code that can access generated C API code elements.
- Use C API to Monitor and Tune Generated Model Code
Learn the details about how to use the C API to monitor and tune model elements.
- 단계 1: Explore Measurable and Tunable Model Elements
- 단계 2: Configure Model to Add C API Signals in Code Generation
- 단계 3: Write Code to Interact with Generated C API Signal Code
- 단계 4: Interact with C API Signal Code Throughout Execution
- 단계 5: Write Code to Interact with Generated C API Signal and Parameter Code
- 단계 6: Use Custom Monitor to Measure and Tune Model Elements in Real Time
Code Descriptor 인터페이스
- Get Code Description of Generated Code
Obtain metadata about the generated code. - Get Generated Type and Name of Inport Structures
Obtain metadata about the inport structures in generated code. - Get Metadata About Test Points and Logged Signals in Generated Code
Retrieve metadata for test points and logged signals in generated code.