Model Architecture and Design
When developing Simulink® models for code generation, consider:
Scheduling requirements and relevant modeling techniques
Products and blocks that support code generation
Code generation treatment of Simulink modeling semantics
Decide whether to represent application components as subsystems, reference models, or Stateflow® charts. Consider whether you want to generate reusable code.
Configure test or production hardware or control the location of generated code files.
As you evolve your model, use the Model Advisor to check whether the model is ready for code generation.
Time- and event-based scheduling requirements
Generate C/C++ code to use messages for communication
- Block Usage
Configure blocks for code generation
- Component-Based Modeling
Modularization, reentrancy, and reuse
- Model Configuration
Configure models for simulation and code generation
- Block Authoring and Customization
Define code generation behavior for user-defined blocks