Simulink Error - Configuration Parameters

28 ビュー (過去 30 日間)
Amogha Sarang
Amogha Sarang 2021 年 4 月 17 日
回答済み: Vidip 2024 年 2 月 21 日
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

回答 (1 件)

Vidip
Vidip 2024 年 2 月 21 日
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:

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by