Simulink Error - Configuration Parameters
11 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Vidip
on 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:
0 Comments
See Also
Categories
Find more on Event Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!