Matlab gets stuck when the swarm intelligence algorithm optimizes the control parameters...
1 view (last 30 days)
Show older comments
Dear all,
I am working on a swarm intelligence algorithm to optimize the parameters of ADRC control, which uses m-code and simulink model. This swarm intelligence algorithm is based on iteration. I write an iterative algorithm in matlab with m-code, and then use the sim function to run ADRC mdl file and return the output value. The controlled object is a relatively complex and huge industrial system.
However, during the running process, matlab often get stuck, that is, it does not report an error or runs down, and it will keep this state, and the computer will also report that the temperature is too high.
I want to ask if it is because the controlled system is too huge or there are too many iterations, or the running time of each iteration is too long to cause matlab to get stuck? Is there any workaround?
Thank you for your help.
3 Comments
Answers (0)
See Also
Categories
Find more on Optimization Toolbox 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!