Greetings, if you have a moment, I could use your help in resolving this error.

5 ビュー (過去 30 日間)

採用された回答

Florian Bidaud
Florian Bidaud 2023 年 10 月 17 日
The error is fairly clear. It's either your model has a singularity, like dividing by a very small quantity. In this case, you need to identify the variable in the block State-space that is causing the error.
If I were you I would first try to reduce the step size by a lot to check if that works. Like going from 0.01s to 0.001s for example. If the model runs fine, then there is no real singularity but just an too large step.
  1 件のコメント
Danikha Shyken
Danikha Shyken 2023 年 10 月 17 日
It worked! I just needed to significantly reduce the step size. Thank you very much for your assistance.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCommunications Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by