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 ?

8 次查看(过去 30 天)
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 ?

回答(2 个)

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

Arka
Arka 2023-3-6
编辑:Arka 2023-3-6
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:

类别

Help CenterFile Exchange 中查找有关 Configure Simulation Conditions 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by