Follow these steps to configure your Simulink® model to take advantage of concurrent execution.
Open your model.
Open Model Explorer and expand the node for the model. Under the model, right-click Configuration, then select Show Concurrent Execution options.
Select the Allow tasks to execute concurrently on target check box in the Solver pane of the Configuration Parameters dialog box. Selection of 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.
Clear the MAT-file logging check box in the All Parameters tab.
Fixed-step for the Type and
(Automatic solver selection) for the Solver in Configuration Parameters > Solver > Solver options.
Once you have a model that executes concurrently on your computer, you can further configure your model in the following ways.
Explicitly map blocks to tasks. For more information, see Partition Your Model Using Explicit Partitioning.