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 fixed-cost simulation process helps you choose fixed-cost solver settings that allow your model to run on a target machine without generating overruns.

Functions

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

Topics

Featured Examples