how to solve this problem?

25 views (last 30 days)
nur
nur on 5 May 2014
Commented: Walter Roberson on 23 Jun 2021
most of the time, when i try to running my matlab simulink design.. this appear..
Warning: Using a default value of 0.2 for maximum step size. The simulation step size will be equal to or less than this value. You can disable this diagnostic by setting 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics page of the configuration parameters dialog
how to solve this problem??

Accepted Answer

Walter Roberson
Walter Roberson on 5 May 2014
You can configure the step size yourself, or you can go to the Diagnostics page of the configuration parameters dialog and set 'Automatic solver parameter selection' to 'none' to turn off the warning.
  5 Comments
dhaval popat
dhaval popat on 23 Jun 2021
of configuration parameter
Walter Roberson
Walter Roberson on 23 Jun 2021
In the Simulink main window, choose the Modeling tab.
Click on Model Explorer, to open the Model Explorer window.
On the left side of that window, click on your model name to expand the node.
Click on Configurations.
In the middle window, double-click on Configuration (Active)
In the right hand window, beside the Name: field, click Open. You will now have the Configuration Parameters window such as @Chandrasekhar showed above.
On the left side of that, click on Diagnostics.
On the right hand side, click on the drop-down for Automatic solver parameter selection, and select "none"
OR, instead of just turning off the message, when you get the Configuration Parameters window,
On the left side, click on Solver.
On the right side, click on Solver details
Fill in a numeric value for Max step size:, replacing auto
Or you could change the Solver selection to Fixed-step, as none of the Fixed Step solver possibilities have a Max step size option, and therefore you would get rid of the warning (though you might get a different warning if you do not fill in Fixed-step size in such a case.)

Sign in to comment.

More Answers (0)

Categories

Find more on Configure and View Diagnostics in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!