Follow these steps to configure your Simulink® model to take advantage of concurrent execution.
Open your model.
Open the Simulation menu and select Configuration Settings.
In Configuration Parameters > Solver > Solver options, choose
Fixed-step for the
auto (Automatic solver
selection) for the Solver.
Select the Allow tasks to execute concurrently on target check box in the Solver pane under Additional Parameters. 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.
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: