how to eliminate gui_mainfcn(gui_State, varargin{:}); error
11 次查看(过去 30 天)
显示 更早的评论
code file is attached
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> test1 at 41 gui_mainfcn(gui_State, varargin{:});
4 个评论
Walter Roberson
2018-3-3
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.)
回答(2 个)
Walter Roberson
2016-1-1
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 个评论
Walter Roberson
2016-1-1
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
2018-1-13
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!