이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
코드 인터페이스 정의
표준화 및 소프트웨어 아키텍처 적합성을 위해 데이터, 함수 및 메모리 섹션 코드 생성 정의를 작성합니다.
대규모 조직에서는 여러 사람들이 일반적인 소프트웨어 아키텍처에 맞춰 코드를 생성하는 데 도움이 될 수 있습니다. 이들이 코드에서 모델 데이터(신호, 파라미터, 상태)와 함수의 모양을 제어하는 데 사용할 수 있도록 코드 생성 정의를 만드십시오.
툴
Embedded Coder 사전 | Create code definitions to control code generation for model data and functions |
클래스
함수
도움말 항목
코드 인터페이스 구성 정의 생성
- Define Service Interfaces, Storage Classes, Memory Sections, and Function Templates for Software Architecture
Create code generation definitions that you and others can use to control the generated code. - Create a Service Interface Configuration
Create code interface definitions for services that your generated code uses. - Flexible Storage Class for Different Model Hierarchy Contexts
Define and apply a storage class that uses different code generation settings for single-instance data and multi-instance data. - Create Data Interface Configuration Programmatically
Define data and function interfaces in an Embedded Coder Dictionary programmatically. - Create Service Interface Configuration Programmatically
Define service interfaces in an Embedded Coder Dictionary programmatically. - Sample Target Environment Service Implementations of Data Communication Methods
Sample target environment service implementations of data communication methods. - Access Data Through Functions by Using Storage Classes in Embedded Coder Dictionary
Use storage classes and Coder Dictionary Defaults to integrate the generated code with legacy code that uses specialized functions to read from and write to data. - Access Data Through Functions with Storage Class GetSet
Use the storage classGetSet
to integrate the generated code with legacy code that uses specialized functions to read from and write to data. - Create Storage Classes by Using the Custom Storage Class Designer
For additional control of data representation in the generated code, create storage classes.
여러 모델 시스템에서 코드 인터페이스 구성을 배포하고 관리
- Separate C Code Interface Configuration Definition from Model-Specific Configurations
Package definitions used by the code generator to produce code for a model separately from model design. - Deploy Code Generation Definitions
Make code generation definitions, such as storage classes and function templates, available to people who need them. - Manage an Embedded Coder Dictionary
Update code definitions and manage the use of Embedded Coder Dictionaries. - Generate Code to Conform to Software Architecture by Sharing and Copying Default Settings Between Models
For new and existing models, standardize the generated code across an organization by sharing and copying default code generation settings.