Simulink Error - Configuration Parameters

20 Ansichten (letzte 30 Tage)
Amogha Sarang
Amogha Sarang am 17 Apr. 2021
Beantwortet: Vidip am 21 Feb. 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

Antworten (1)

Vidip
Vidip am 21 Feb. 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:

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by