Main Content

Fixed-Cost Simulation

Fixed-step, fixed-cost capability evaluation; solver selection; balancing speed and accuracy

The fixed-step solver type, step size, and number of iterations that you specify for a model affect the speed and accuracy of your real-time simulation. The real-time simulation workflow helps you choose fixed-cost solver settings that allow your model to run on a target machine without generating overruns.


simscape.getLocalSolverFixedCostInfoDetermine iteration requirement when transitioning to fixed cost (Since R2021b)