I have compiled a GUI created with GUIDE. When executing my GUI in MATLAB I receive no errors. However, after compiling it I receive the following error at runtime:
Error in ==> gui_mainfcn at 197 Error in ==> mygui at 26 Warning: Objects of uitools.uimodemanager class exist - not clearing this class or any of its super-classes ??? Error using ==> mygui_OutputFcn Variable output array "varargout" must be a cell array. MATLAB:VarargoutNotCell
Another manisfestation of this error is:
??? Error using ==> mygui>mygui_OutputFcn Too many output arguments. Error in ==> gui_mainfcn at 248 Error in ==> mygui at 40
Best Answer