GUI error problem on starting, but no changes to code

1 visualizzazione (ultimi 30 giorni)
Hi,
I've been running a fairly complex GUI I created, and it was working fine until I pressed a button while a waitbar was running. I closed the GUI and tried to start again.
Now everytime I try to open the fig file in guide I get the error
Error using gui_mainfcn (line 41)
Could not find field 'gui_OutputFcn' in the gui_State struct in GUI
When I try to run the fig file I get
Error using guy_mainfcn(line41)
Could not find field 'gui_OutputFcn' in the guy_State struct in GUI MATLAB-file IDIF.m
Error in IDIF(line 45)
guimainfcn(gui_State, varargin{:});
Error in guidefunc>layoutActivate(line 1157)
feval(fcn)
Error in guidefunc(line 13)
varargout=layoutActivate(varargin{:});
Does anyone have any idea how this might have happened, even though I have not changed anything in either the .fig or .m file? I've restarted Matlab and my computer many times but I still cannot run my code
Thanks, Jim
  1 Commento
Jan
Jan il 15 Mag 2013
You cannot expect, that someone can suggest a bugfix without knowing the code. The error message seems to be clear: The struct gui_State is incomplete. But it is impossible to guess why.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by