A variable in (to workspace) block in SIMULINK not recognized in command window
Show older comments
I am working on PSO to tune PID controller using SIMULINK and used ITAE as the fitness function. i added ITAE from SIMULINK using (to workspace) block, but when i run the PSO code it shows me an error that (Unrecognized function or variable 'ITAE'.) and it doesn't appear in workspace.
1 Comment
Walter Roberson
on 12 Nov 2024
? You use ITAE as the fitness function, but the code also expects ITAE to be a numeric variable?
Answers (0)
Categories
Find more on Particle Swarm in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!