PSO IN APP DESIGNER
조회 수: 1 (최근 30일)
이전 댓글 표시
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));
댓글 수: 0
답변 (1개)
Kumar Pallav
2021년 9월 1일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Particle Swarm에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!