I recently created a GUI and tested it and it worked fine. Returning to it a couple of weeks later when I try to run it, it doesnt run the opening function (im not sure if it runs it at all or partially) and this then leads to a load of errors e.g.
??? Attempt to reference field of non-structure array.
Error in ==> pfu_state_machine>PB_Reset_Callback at 309
Error in ==> gui_mainfcn at 96
Error in ==> pfu_state_machine at 42
Error in ==> @(hObject,eventdata)pfu_state_machine('PB_Reset_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
However if I run the GUI from the GUIDE run GUI button or from the m file run button it behaves as it should. What has happened here?
All that has been done to the file in the interrim time is i made a copy of it to zip. Neither copy is working.