FSOLVE requires at least two input arguments.

I am trying to run a scipt I from File Exchange, but I am getting error "Error using fsolve (line 186) FSOLVE requires at least two input arguments" Can please help fix the error?
% Prepare the options for the solver
options = prepareOptionsForSolver(options, 'fsolve');
end
if nargin == 0
error(message('optim:fsolve:NotEnoughInputs')) (line 186)

2 件のコメント

Cris LaPierre
Cris LaPierre 2025 年 1 月 15 日
Please share the code you are running that is causing this error.
Rik
Rik 2025 年 1 月 26 日

The first person to ask is the author who submitted it to the file exchange. Since there are thousands of submissions, you should link to the one you're using and post the code you're using to call it.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSystems of Nonlinear Equations についてさらに検索

質問済み:

2025 年 1 月 15 日

コメント済み:

Rik
2025 年 1 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by