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 vues (au cours des 30 derniers jours)
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 ?

Réponses (2)

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

Arka
Arka le 6 Mar 2023
Modifié(e) : Arka le 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:

Catégories

En savoir plus sur Configure Simulation Conditions dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by