im doing a school project and i wrote a GUI to extract numbers from text file that updates itself every 0.1sec and use data collected to plot a graph that updates itself every 0.1sec. The graph updates in the way that it seems like the points ploted moves to the left and a new point is added on the right of the graph. Upon running the GUI, i encounter this error "Improper assignment with rectangular empty matrix." This error occurs at random timing, sometimes the error occurs after 20mins, sometimes it occurs after few minutes. The funny characters coloured in green actually appears as '%f' in my mfile.
??? Improper assignment with rectangular empty matrix.
Error in ==> main>pb1_Callback at 114