Error " Too many input arguments" occurs when using nlhw in EXAMPLE

Following the examples here to lear abount estimate nonlinear model.
After
openExample('ident/EstimateAHammersteinWienerModelExample')
and press run button, I got this error output
Error using nlhw
Too many input arguments.
I debug a bit and found the error occurs at this line
[~, uC(~uNoNorm), uS(~uNoNorm)] = normalize(in(:,~uNoNorm),1,PV{:});
But I really did not figure out why. Thanks in advance for your kind help.

1 件のコメント

Ma
Ma 2024 年 6 月 6 日
Download R2021a version, same code works fine.

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

 採用された回答

Prateekshya
Prateekshya 2024 年 6 月 6 日

1 投票

Hi Ma,
This indicates that there might be some other issue since the syntax is correct. Please reach out to MathWorks Technical Support by creating a help ticket and someone will get in touch with you to resolve the issue.
I hope it helps!

1 件のコメント

Ma
Ma 2024 年 6 月 6 日
Already sent a support request. Thank you for your help, Prateekshya!

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

その他の回答 (1 件)

Ma
Ma 2024 年 6 月 11 日

1 投票

restoredefaultpath
rehash toolbox
rehash toolboxcache
savepath
sl_refresh_customizations
after type below commands, my nlhw functions normally!

カテゴリ

ヘルプ センター および File ExchangeBiotech and Pharmaceutical についてさらに検索

製品

リリース

R2023b

質問済み:

Ma
2024 年 6 月 5 日

回答済み:

Ma
2024 年 6 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by