Configure Your Model for Concurrent Execution
Follow these steps to configure your Simulink® model to take advantage of concurrent execution.
Open your model.
On the Modeling tab, click Model Settings.
Select Solver, then in the Solver selection section, choose
Fixed-stepfor the Type and
auto (Automatic solver selection)for the Solver.
Under Solver details, select Allow tasks to execute concurrently on target. Selecting this check box is optional for models referenced in the model hierarchy. When you select this option for a referenced model, Simulink allows each rate in the referenced model to execute as an independent concurrent task on the target processor.
Select Code Generation > Interface > Advanced parameters, clear the MAT-file logging check box.
Once you have a model that executes concurrently on your computer, you can further configure your model in the following ways: