Maximum step size warning in Simulink
9 次查看(过去 30 天)
显示 更早的评论
Hi... What is this error?
"Warning: Using a default value of 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 "
0 个评论
回答(4 个)
Kaustubha Govind
2011-3-14
This is a warning, not an error. The Simulink Engine is warning you that you have not selected a "Max step size" in the Solver pane of the Configuration Parameters Window, and so it is choosing a value of 2. Typically, you shouldn't have to worry about this, unless you really want to the solver to take a step size greater than 2.
0 个评论
Nuno
2011-3-14
1 个评论
Kaustubha Govind
2011-3-15
What solver are you using? Also, if it is discrete, what is the smallest sample-time in your model?
samin
2011-7-23
i have this probelm too,i check lots of examples in simulinik but all the time i have this warning and cant use 'simulink plc coder' for subsystems ,because i have to solve all the warning and errors
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!