PSO IN APP DESIGNER

1 visualización (últimos 30 días)
Riah Ann Fermin-Cayanan
Riah Ann Fermin-Cayanan el 28 de Ag. de 2021
Respondida: Kumar Pallav el 1 de Sept. de 2021
I am creating a project in App Designer that needs optimization and I got an error saying (Unrecognized field name "Position").
% Update Velocity
particle(i).Velocity(y) = w*particle(i).Velocity(y) ...
+ c1*rand(VarSize).*(particle(i).Best.Position(y) - particle(i).Position(y)) ...
+ c2*rand(VarSize).*(GlobalBest.Position(y) - particle(i).Position(y));

Respuestas (1)

Kumar Pallav
Kumar Pallav el 1 de Sept. de 2021
Could you share the code to analyze the issue further. The issue is caused if you are accessing a variable or property which is not defined or accesible.

Categorías

Más información sobre Particle Swarm en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by