이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
참조된 모델
참조된 모델을 위한 코드 재생성
모델 참조 계층 구조를 위한 코드를 생성하여 다음 결과를 얻을 수 있습니다.
- 증분 코드 생성 – 코드가 생성된 이후에 모델에 변경 사항이 있는 경우에만 코드를 생성 
- 증분 로딩 – 필요할 때 참조 모델을 불러옴으로써 모델을 불러오는 속도를 높임 
- 모듈식 개발 – 참조된 모델을 사용하는 모델과 독립적으로 참조 모델을 개발하고 관리 
- 코드 재사용 – 재사용 가능한 코드를 참조된 모델에서 생성 
참조된 모델에 대한 코드를 생성하는 방법에 대한 예제를 시작하려면 Generate Code for Model Reference Hierarchy 항목을 참조하십시오.
도움말 항목
코드 생성
- Generate Code for Model Reference Hierarchy
 Introduces generating code for models referenced with Model blocks.
- Generated Functions in a Model Reference Hierarchy
 About generated functions in a model reference hierarchy.
- File Packaging for Models (Code and Data)
 Partition data and functions of reference model into separate files.
- Set Configuration Parameters for Code Generation of Model Hierarchies
 Satisfy model reference hierarchy requirements to enable code generation.
- Convert Subsystem to Referenced Model and Generate Code
 Use Model Reference Conversion Advisor to convert a Subsystem block to a Model block and generate code for the model reference hierarchy.
- Storage Classes for Parameters and Signals Used in Model Blocks
 Configure storage classes for parameters and signals to transfer data in model reference hierarchy.
- Code Generation Limitations for Model Reference
 Model references have limitations including, but not limited to, data logging, state initialization, and S-functions.
- Simulink Cache Files for Incremental Code Generation
 Share Simulink cache files in team-based development to reduce build time and avoid unnecessary code regeneration.
- Combine Code Generated for Multiple Models
 Generate a single executable program from multiple models or multiple copies of the same model.
코드 재사용
- Generate Reusable Code from Model Reference Hierarchy
 Generate reusable subsystem code from a top model with Model blocks.
- Specify Instance-Specific Parameter Values for Reusable Referenced Model
 When you create a reusable component as a referenced model, configure block parameters to use the same value for instances of the component or a different value for each instance.
- Shared Constant Parameters for Code Reuse
 Share generated code for constant parameters across models.