xlConfigureSolver - 2023.2 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2023-11-15
Version
2023.2 English

The xlConfigureSolver function configures the Simulink solver settings of a model to provide optimal performance during Vitis Model Composer simulation.

Syntax


xlConfigureSolver(<model_handle>); 

Description

The xlConfigureSolver function configures the model referred to by <model_handle>. <model_handle> can be 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 Vitis Model Composer simulation, the following Simulink simulation configuration parameters are set:

'SolverType' = 'Variable-step' 
'Solver' = 'VariableStepDiscrete' 
'SolverMode' = 'SingleTasking'