이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
모델링 지침 및 블록 사용
모델링 지침은 모델 설정, 블록 사용 및 블록 파라미터에 대한 정보를 제공합니다. 특정 애플리케이션을 위한 모델을 개발하고 코드를 생성할 때 모델링 지침을 사용하십시오.
모델 설계와 코드 품질을 평가하고 모델링 지침을 준수하는지 확인하려면 모델 어드바이저 검사를 사용하십시오. 자세한 내용은 Check Your Model Using the Model Advisor 항목을 참조하십시오.
도움말 항목
- Use Products and Blocks Supported for Code Generation
Identify products and blocks that support code generation.
- Consider Modeling Semantics when Generating Code
Data propagation, sample time propagation, latches for subsystem blocks, block execution order, and algebraic loops.
- Modeling Guidelines for Blocks
Code generation modeling guidelines include recommended model settings, block usage, and block parameters.
- Modeling Guidelines for Model Configuration
When you develop models and generate code, use the modeling guideline configuration recommendations.
- Switch Between Output Waveforms During Code Execution for Waveform Generator Block
This example shows how to generate code that enables you to switch between stimulus waveforms during code execution.
- Tune Phase Parameter of Sine Wave Block During Code Execution
Under certain conditions, you cannot configure the Phase parameter of a Sine Wave block to appear in the generated code as a tunable global variable (for more information, see the block reference page).