MATLAB: About . M file

gui

??? Error using ==> feval Undefined function or method 'frame1_DeleteFcn' for input arguments of type 'struct'.
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> c28335pwmtestex1 at 44 gui_mainfcn(gui_State, varargin{:});
Error in ==> @(hObject,eventdata)c28335pwmtestex1('frame1_DeleteFcn',hObject,eventdata,guidata(hObject))
??? Error using ==> delete Error while evaluating uicontrol DeleteFcn
??? Reference to non-existent field 'c28335pwmtestEditor'.
Error in ==> c28335pwmtestex1>c28335pwmtestex1_OpeningFcn at 57 fig = handles.c28335pwmtestEditor
Error in ==> gui_mainfcn at 221 feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in ==> c28335pwmtestex1 at 44 gui_mainfcn(gui_State, varargin{:});

Best Answer

It appears that you renamed your files instead of working in GUIDE to rename items there.
It is possible to chase down all the resulting problems and fix them, but to be honest it is common that the fastest way to proceed is to create a new GUIDE project under the desired name.