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!