"fsolve stopped because it exceeded the function evaluation limit, options.Ma​xFunctionE​valuations = 1.700000e+03."

조회 수: 25 (최근 30일)
I am getting the error
"fsolve stopped because it exceeded the function evaluation limit, options.MaxFunctionEvaluations = 1.700000e+03.".
Somebody pls help.

답변 (1개)

Gagan Baishya
Gagan Baishya 2021년 9월 15일
Hello,
You can use options & optimoptions to avoid the error.
options = optimoptions('fsolve');
options.MaxIterations = 1000;
options.MaxFunctionEvaluations = 1.700000e+03;
More information on options can be found in the documentation link below:

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by