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

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)

Asked:

on 9 Aug 2017

Community Treasure Hunt

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

Start Hunting!