To generate Structured Text from a multirate model, you must configure the model as follows:
Change any continuous time input signals in the top-level subsystem to use discrete fixed sample times.
For the solver, select single-tasking execution.
The following target IDEs are not supported for multirate model code generation:
Rockwell Automation® RSLogix™ 5000 AOI
Siemens® SIMATIC® STEP® 7
B&R Automation Studio®
When you deploy code generated from a multirate model, you must run the code at the fundamental sample rate.