Undefined operator '<' for input arguments of type 'struct'
古いコメントを表示
Hi all,
I'm new to doing PSO on MATLAB. I'm currently facing this problem where I couldn't do a "<" operation on 2 struct arguments as seen in Line 48. This is just a section of the code I'm referencing online. Any help would be highly appreciative. Thanks!

1 件のコメント
KSSV
2020 年 3 月 4 日
<, > canbe used for numbers. It looks like you are checking with a structure.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Numeric Types についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!