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

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

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개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

태그

질문:

2013년 5월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by