Configure Your Model for Concurrent Execution
Follow these steps to configure your Simulink®model to take advantage of concurrent execution.
Open your model.
On theModelingtab, clickModel Settings.
SelectSolver, then in theSolver selectionsection , choose
Fixed-step
for theTypeandauto (Automatic solver selection)
for theSolver.UnderSolver details, selectAllow 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.
SelectCode Generation>Interface>Advanced parameters, clear theMAT-file loggingcheck box.
Once you have a model that executes concurrently on your computer, you can further configure your model in the following ways: