Stop message after fsolve completes

Whenever fsolve ends, it gives way out

Equation solved.

fsolve completed because the vector of function values is near zero
as measured by the default value of the function tolerance, and
the problem appears regular as measured by the gradient.

<stopping criteria details>

Can this be stopped?

+3
source share
1 answer

try setting the parameters:

opts = optimset('Diagnostics','off', 'Display','off');
[x,fval] = fsolve(@myfun, x0, opts);
+6
source

Source: https://habr.com/ru/post/1764433/


All Articles