how to solve this problem?
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
nur
le 5 Mai 2014
Commenté : Walter Roberson
le 23 Juin 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??
0 commentaires
Réponse acceptée
Walter Roberson
le 5 Mai 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 commentaires
Walter Roberson
le 23 Juin 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.)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Configure Simulation Conditions dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!