Maximum step size warning in Simulink

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 "

Respuestas (4)

Kaustubha Govind
Kaustubha Govind el 14 de Mzo. de 2011

1 voto

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.
Nuno
Nuno el 14 de Mzo. de 2011

0 votos

But when i change to 2, appear the next error: "Warning: Using a default value of 0.0008 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 ".
Always appear the error, and don´t appear the results...

1 comentario

Kaustubha Govind
Kaustubha Govind el 15 de Mzo. de 2011
What solver are you using? Also, if it is discrete, what is the smallest sample-time in your model?

Iniciar sesión para comentar.

Indira
Indira el 15 de Mzo. de 2011

0 votos

What kind of simulation you are doing?
samin
samin el 23 de Jul. de 2011

0 votos

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

Categorías

Más información sobre Configure and View Diagnostics en Centro de ayuda y File Exchange.

Productos

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 14 de Mzo. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by