Derivative of state '1' in block 'PP_poly/Integrator1' at time 0.0 is not finite.

1 回表示 (過去 30 日間)
Dogukan
Dogukan 2023 年 4 月 24 日
回答済み: Sam Chak 2023 年 4 月 25 日
Hi, I am working on a simulink simulation of an autonomous three wheeled vehicle. My system right now is,
And I am getting not finite error from the integrator block that comes after inverse kinematics block. I know the reasons why simulink gives this error but I can not see why I am getting it. I tried to saturated integrator and memory block to prevent this but it didnt work. The inputs I am giving to integator are,
The signals are important for me, so I can not change their behaviour or anything.
  4 件のコメント
Dogukan
Dogukan 2023 年 4 月 25 日
@Sam Chak Sure, here you can see they are all nan. I am kinda confused why it is nan at the start.
Dogukan
Dogukan 2023 年 4 月 25 日
編集済み: Dogukan 2023 年 4 月 25 日
@Sam Chak Okay I fixed it with MATLAB Function block where I put a if statement that if time is equal to zero then make these two signal zero and it fixed the problem thank you for your helps.

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

回答 (1 件)

Sam Chak
Sam Chak 2023 年 4 月 25 日
It's good to hear that your problem is solved now. I moved my comment to the Answer section because it helped you to figure out what went wrong. If you find the tips helpful, please consider accepting ✔ and voting 👍 on the answer. Thanks!
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – –
Can you right-click to show the value labels on the selected signals? It helps to investigate the issue. Something like shown below:

カテゴリ

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

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by