I run a compiled code and after some time get the following error which I am able to capture via diary function storing a commend line results on every execution in a txt file:
Error while evaluating TimerFcn for timer 'timer-1'
Output argument "varargout{5}" (and maybe others) not assigned during call to "disperse".
Since the "disperse" function is called 18 times per code execution, I cannot locate at which line in the compiled code the error occures. How to get the exact error line in the compiled code?