Objective function is returning undefined values at initial point. FSOLVE cannot continue

16 ビュー (過去 30 日間)
I call "fsolve" function by using an interpreted MATLAB Function block in simulink.However, during simulation error occurs: "Objective function is returning undefined values at initial point. FSOLVE cannot continue". How can I solve the problem? Can anyone help me?

採用された回答

Matt J
Matt J 2013 年 5 月 4 日
編集済み: Matt J 2013 年 5 月 4 日
To investigate what the objective function is complaining about, evaluate the initial point yourself manually and inspect the result.
  1 件のコメント
huan tu
huan tu 2013 年 5 月 5 日
I had a trial using your method, i think the initial values were correct. Since there is an algebraic loop contained in the simulink, when i add a memory block in the loop, the warning "Objective function is returning undefined values at initial point. FSOLVE cannot continue" disapear, but the simulation is wrong. however, when i delete the memory block, the same warning takes place. So could you tell me some solutions? Thanks a lot!

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by