From: Matthew Arthington on 3 Mar 2010 16:27 "barsk " <vinmania(a)hotmail.com> wrote in message <ha0dji$1g5$1(a)fred.mathworks.com>... > hi.. im using a draggable function. i call it in the datacursormode custom function.. but when i click for the first time.. every time after i get the following error: > > > ??? Attempt to reference field of non-structure array. > > Error in ==> uitools.uimode.modeControl>localModeWindowButtonDownFcn at 127 > hThis.modeWindowButtonDownFcn(hFig,evd,hThis,newValue); > > ??? Error while evaluating figure WindowButtonDownFcn > > ??? Attempt to reference field of non-structure array. > > Error in ==> uitools.uimode.modeControl>localModeWindowButtonDownFcn at 127 > hThis.modeWindowButtonDownFcn(hFig,evd,hThis,newValue); > > ??? Error while evaluating figure WindowButtonDownFcn > > > any suggestions? > > thanks > > Barsk I also get this error a lot. I have been trying to debug it but to no avail. I hope someone will read this who understands it a bit more and offers some advice: Please! |