关于simulink中的solver设置的解释

The follow multirate model illustrates how the variable-step solver can shorten simulation time.

This model generates outputs at two different rates, every 0.5 second and every 0.75 second. To capture both outputs, the fixed-step solver must take a time step every 0.25 second (the fundamental sample time for the model).

  • [0.0 0.25 0.5 0.75 1.0 1.25 ...]
    

By contrast, the variable-step solver need take a step only when the model actually generates an output.

  • [0.0 0.5 0.75 1.0 1.5 2.0 2.25 ...]
    

This significantly reduces the number of time steps required to simulate the model.

你可能感兴趣的:(MATLAB,&,Simulink)