psoplotswarm is meant to plot particle positions in a 3-dimensional axes. I use it in the PSODEMO file to make it easier to visualize how the swarm behaves. IIRC the ijk variable is a 3-element array where you specify which dimension of your problem you want to plot (for example, if you have a problem with 12 dimensions and you want to plot the particle positions along the 4th, 7th, and 11th dimensions on a 3D plot).
Erik, I have discovered a typo in one of the helper functions for PSO which is causing the bug that you describe. I have submitted an update which should appear over the next few days. This should also improve performance for anyone who is using lower and upper bound constraints for their optimization problems.
I recently installed R2014b and had the same problem. For R2014b, the eventdata of the mouse wheel callback was changed to an object instead of a struct. The solution is to add this line
if isobject(iCnt), iCnt = iCnt.VerticalScrollCount; end
a few lines above the line which throws the error (just next to a very similar line, which checks for a struct). I will also upload a fixed version soon.
24 Nov 2014
4D/3D image visualization and evaluation GUI.
I use imagine a lot and I think it's a great tool. However, I just upgraded to OSX Yosemite and I had to get Matlab R2014. The new imagine version works but the mouse scroll function to explore through slices seems to be broken. Here is the message I get when I try to use it:
Error while evaluating Figure WindowScrollWheelFcn
Undefined function 'plus' for input arguments of type 'matlab.ui.eventdata.ScrollWheelData'.
Error in imagine/fChangeImage (line 1847)
iNewImgInd = SData(iSeriesInd).iActiveImage + iCnt;
Any quick fix for this?