Borrar filtros
Borrar filtros

Simulink Error - Configuration Parameters

11 visualizaciones (últimos 30 días)
Amogha Sarang
Amogha Sarang el 17 de Abr. de 2021
Respondida: Vidip el 21 de Feb. de 2024
Hi,
I'm very new to SImulink and I'm trying to model simple spacecraft dynamics: the goal is to output angular velocity, quaternions, and euler angles over time. However, I keep getting this error and I don't know how to fix it. As far as I can see, the configuration parameters is set to 'variable step' and 'ode45' solver
Invalid ConsecutiveZCsStepRelTol specified in the Configuration Parameters dialog for block diagram

Respuestas (1)

Vidip
Vidip el 21 de Feb. de 2024
The error message you're encountering, "Invalid ConsecutiveZCsStepRelTol specified in the Configuration Parameters dialog for block diagram," suggests that there is an issue with the zero-crossing control parameters in your Simulink model configuration.
The solver 'Type' should be set to 'Variable-step' and then you should set the 'Zero-crossing control' option to either 'Use Local settings' or 'Enable all' to change the Time Tolerance parameter. This option enables zero-crossing detection for all blocks in the model that register zero crossings regardless of the parameter setting on each block.
Also, the value ConsecutiveZCsStepRelTol should be a small positive number. If it is set to a non-positive value, this could cause the error you're seeing.
For further information, refer to the documentation links below:

Categorías

Más información sobre Event Functions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by