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
Sulaymon Eshkabilov 2023년 3월 6일
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