xlConfigureSolver - 2022.1 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2022-05-26
Version
2022.1 English

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'