Undefined operator '<' for input arguments of type 'struct'
Afficher commentaires plus anciens
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 commentaire
KSSV
le 4 Mar 2020
<, > canbe used for numbers. It looks like you are checking with a structure.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Numeric Types dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!