how to solve this problem?

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

采纳的回答

Walter Roberson
Walter Roberson 2014-5-5
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 个评论
dhaval popat
dhaval popat 2021-6-23
of configuration parameter
Walter Roberson
Walter Roberson 2021-6-23
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.)

请先登录,再进行评论。

更多回答(0 个)

类别

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

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by