MATLAB Answers


How to save the 'PlotFcn','pswplotbestf' image for ParticleSwarm function

Asked by Luca Freilino on 9 Jun 2019
Hi everyone, I'm working on my master thesis and I'm using my university cluster. I run my code (an optimization code using the ParticleSwarm function) and I'd like to save the relative image (the simil-hyperbola one than the code gives me back with the iterations number on the x-axis and the objective funcion on the y-axis). I've tried to save it as a normal image (eg, saveas...) but it didn't work. Do you have any suggestion?
Best, Luca


Sign in to comment.




0 Answers