simscape.getLocalSolverFixedCostInfo
R2026bDetermine the iteration requirement for fixed-cost solvers
Description
determines the value for the Nonlinear iterations parameter to simulate
the model, s = simscape.getLocalSolverFixedCostInfo(modelName)modelName, when using a fixed-step, fixed-cost solver. The
function outputs a structure array with fields that contain information about the model,
such as the solver path, number of iterations, and whether the simulation fails to converge.
Note
If you select the Use fixed-cost runtime consistency iterations parameter in the Solver Configuration block, this function only tries the number of iterations specified in the Nonlinear iterations parameter. Otherwise, the function tries 100 iterations.
Examples
Input Arguments
Output Arguments
Assumptions and Limitations
The function does not support Simscape™ Multibody™ networks.
The function does not support rapid accelerator mode.
The function does not support fast restart.
