Please post your call to the solver. It looks like you are using ga as a solver when you said that you are using particleswarm, so it is hard to understand what happened.
Alan Weiss
MATLAB mathematical toolbox documentation
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!