在查看采样时间和任务模式注意事项后,生成满足实时执行要求的代码。
了解生成的 C 入口函数、配置选项以及如何与它们对接。
Execute code generated from single-tasking and multitasking
models for rapid-prototyping and embedded system run-time environments.
Use the base sample rate of a model to define the
time interval during which blocks in the model execute.
Include blocks that use different sample rates, or
use different sample rates for continuous and discrete parts of a
model.
处理具有不同周期性采样率的模块之间的转换。
Configure model configuration parameters that are
relevant to time-based scheduling of generated code.
Design models that include discrete and continuous
time blocks.
Improve performance of generated code by using
real-time operating system (RTOS) task management mechanisms to eliminate redundant
scheduling calls for multirate, multitasking models.
Models that show time-based scheduling scenarios.