Simulink Error - Configuration Parameters

10 vues (au cours des 30 derniers jours)
Amogha Sarang
Amogha Sarang le 17 Avr 2021
Réponse apportée : Vidip le 21 Fév 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

Réponses (1)

Vidip
Vidip le 21 Fév 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:

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by