By configuring a local solver for each referenced model, it is possible to use different solvers and step sizes for each referenced model, independent of the top model.
Up to R2024b, a local solver could only be configured when the referenced model used a fixed-step solver. However, starting from R2025a, a local solver can also be used when the referenced model uses a variable-step solver.
For some systems, using a local solver can improve simulation performance by allowing you to:
- Choose a solver that is more appropriate to solve the system in the referenced model
- Use different step sizes for different components to reduce the number of redundant calculations in systems that have a wide range of dynamics among components.
Please refer to the following documentation for details.
Use Local Solvers in Referenced Models: