How to set the simulink in fixed solver mode and ode4 by default, so that while opening a new blank simulink page, the solver is at fixed step solver and ode4 by default ?

9 views (last 30 days)
How to set the simulink in fixed solver mode and ode4 by default, so that next time while opening a new blank simulink page, the solver is at fixed step solver and ode4 by default and there is no need to again and again manually change the solver configuration ? Is this possible ? If yes then how ?

Answers (2)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 6 Mar 2023
First, see how to adjust the solver - DOC
Then follow the steps - given in this thread

Arka
Arka on 6 Mar 2023
Edited: Arka on 6 Mar 2023
Hi,
When you create a new Simulink model, the default solver is chosen as VariableStepAuto by default. You can go into the Configuration Parameters menu and change it. It is not possible to set a different default solver at this point of time.
To change the solver setting manually, please follow the steps metioned below:
  1. In the model window, open the Modeling tab and click Model Settings.
  2. The Configuration Parameters dialog box opens, showing the Solver pane.
  3. Under Solver selection, set Solver as per your own requirements.
To know more about the default settings and Configuration Parameters in Simulink, please refer to the MathWorks Documentation links below:

Categories

Find more on Configure Simulation Conditions in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!