how to eliminate gui_mainfcn(gui_State, varargin{:}); error
11 views (last 30 days)
Show older comments
code file is attached
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> test1 at 41 gui_mainfcn(gui_State, varargin{:});
4 Comments
Walter Roberson
on 3 Mar 2018
The cause of this particular Question was that a .fig file had been used that did not match the .m code. The user had the .m code from a project but not the .fig file and was trying to create the matching .fig file.
If that is not your situation then you should create a new Question with the complete MATLAB error message. (This is not an Octave resource; octave-specific errors often do not get investigated here.)
Answers (2)
Walter Roberson
on 1 Jan 2016
Insufficient information. We need the entire content of the error message.
Some people might suspect that this is the same question as http://uk.mathworks.com/matlabcentral/answers/262320-how-to-eliminate-the-uicontrol-callback-error, but of course you would not post the same question twice so we cannot use that question to guess about the missing information for this question.
3 Comments
Walter Roberson
on 1 Jan 2016
How does this differ from http://uk.mathworks.com/matlabcentral/answers/262320-how-to-eliminate-the-uicontrol-callback-error ? I am not going to investigate the same problem twice, and if this is the same question as before then this present question will need to be deleted as a duplicate question in which case it would be inappropriate to respond here.
yousif Hamad
on 13 Jan 2018
its easy to solve this problem, just check what you add to the GUI AS MENU OR BUTTON and you delete the his code at the main file ,just delete it and create again
0 Comments
See Also
Categories
Find more on Other Formats in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!