The xlConfigureSolver
function configures the
Simulink solver settings of a model to provide optimal performance during Model
Composer simulation.
Syntax
xlConfigureSolver(<model_handle>);
Description
The xlConfigureSolver function configures the model referred to by <model_handle>. <model_handle> canbe a string or numeric handle to a Simulink model. Library models are not supported by this function since they have no simulation solver parameters to configure.
For optimal performance during Model Composer simulation, the following Simulink
simulation configuration parameters are set:
'SolverType' = 'Variable-step'
'Solver' = 'VariableStepDiscrete'
'SolverMode' = 'SingleTasking'