Prev: Help, nO detailed error information for my matlab function
Next: Help, nO detailed error information for my matlab function
From: Zoe on 1 Jul 2010 13:26 When I was running my matlab code, the program was terminated by an error. However, the error message was : Error using ==> funfun Error in ==> lsqcurvefit at 149 [x,Resnorm,FVAL,EXITFLAG,OUTPUT,LAMBDA,JACOB] = ... Error in ==> Transit>Bn_Run_Callback at 435 [p, SSD, residual,exitflag,output,lambda,nJa] = lsqcurvefit(@solve, p, t, data, lb, ub, options, handles); Error in ==> gui_mainfcn at 75 feval(varargin{:}); Error in ==> Transit_model at 21 gui_mainfcn(gui_State, varargin{:}); From this message, it was hard to tell where the error occured. Usually, matlab will give me some detailed information, such as improper parameters, incorrect matrix size. However, this code didn't give me detailed information. what is weird is, matlab did give me detailed error information when I was running some other codes. The version of my matlab is 7.0.1.24704 (R14) Service Pack 1. How can I fix this problem?
From: Zoe on 1 Jul 2010 13:35 Sorry for the duplicated posts..
From: Jan Simon on 1 Jul 2010 14:35 Dear Zoe, > Sorry for the duplicated posts.. Can you explain, how you've posted the message multiple times? It would be nice to modify the user-inteface such that double posting happens less often. For your question: dbstop if all error Then Matlab's debugger stops when the error occurs. Good luck, Jan
From: Zoe on 2 Jul 2010 12:38 Hi, Jan, I checked the setting in 'debug' submenu, the setting is 'never stop' for all. This strange problem occurs only several mfiles, unfortunately, one of them is the most important mfile for me... How can I fix this problem? About the duplicated posts, I am not quite sure what happened. I don't think that I submitted the post for three times. "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i0in4s$3fi$1(a)fred.mathworks.com>... > Dear Zoe, > > > Sorry for the duplicated posts.. > > Can you explain, how you've posted the message multiple times? It would be nice to modify the user-inteface such that double posting happens less often. > > For your question: > dbstop if all error > Then Matlab's debugger stops when the error occurs. > > Good luck, Jan
From: Zoe on 2 Jul 2010 12:44
"Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i0in4s$3fi$1(a)fred.mathworks.com>... > Dear Zoe, > > > Sorry for the duplicated posts.. > > Can you explain, how you've posted the message multiple times? It would be nice to modify the user-inteface such that double posting happens less often. > One possible reason could be, after I submitted the post, several minutes are required for my post to show on the board. During these several minutes, I refreshed my webpage for several times. It may regard 'refresh' request as 'submit' request and submitted the topic in cache for several times. |