Undefined operator '<' for input arguments of type 'struct'
Mostrar comentarios más antiguos
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 comentario
KSSV
el 4 de Mzo. de 2020
<, > canbe used for numbers. It looks like you are checking with a structure.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Numeric Types en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!