How can i convert a PSO (Particle Swarm Optimization) m-file to a Matlab Function?

1 view (last 30 days)
How can i use a PSO as a function in Simulink to control the system that has been defined in Simulink environment. is it possible to define a heuristic or meta heuristic algorithm as a Matlab Function? please guide me ...

Answers (0)

Community Treasure Hunt

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

Start Hunting!