MATLAB ga code error while using lb and ub

1 回表示 (過去 30 日間)
Learner123
Learner123 2021 年 4 月 27 日
コメント済み: Learner123 2021 年 4 月 27 日
Hi,
When I run ga without any bounds, its working fine.
When I set LB and UB, following error is displayed.
Error using ga
Too many input arguments.
Error in MyGaPI_HPS_lim (line 18)
[x,fval] =ga(@(K)ITAE_HPSPI_lim(dt,K),4,-eye(4),zeros(4,1),[],[],[],[],[],LB,UB,[],options);
Any help is greatly appreciated. Thanks in advance.
  1 件のコメント
Learner123
Learner123 2021 年 4 月 27 日
I have solved the issue!

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGenetic Algorithm についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by