Improper assignment with rectangular empty matrix - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Improper assignment with rectangular empty matrix

pin85pin85 Posts: 1Member
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
C(10) =str2double(textread('t.txt',[color=Green]'
Sign In or Register to comment.