Why do I receive an error "Variable output array "varargout" must be a cell array" in a GUI compiled with MATLAB Compiler?
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Profiling and Tracing for Performance Optimization in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!