Error "Unexpected error status flag encountered."

2 views (last 30 days)
Hello,
I'm computing some modelled data and suddenly startet to regularly get the following error message:
Unexpected error status flag encountered. Resetting to proper state.
My work Laptop runs WinXP (No Internet Connection) and MATLAB 7.9.0 (R2009b).
Here's what my script does:
I load three tables (3000,375), add them up, add noise with 'awgn' , use 'hilbert', do some other additions and then plot the result. Then I load another set of tables and repeat the procedure (9 times total). This is done to compare the effect of noise on the result, that's why I repeat the whole thing a couple of times. That worked well the first time, I got 32 runs before I restarted MATLAB.
Then two things happened: From now on, the result repeated every time I restarted MATLAB. I then read that 'awgn' does that, but my tables did not show it until then.
Anyway , my actual problem: I repeat the procedure with the same parameters, the same tables and the same script, always starting with 'clear all'. But now after always 18 runs and then 7 of 9 table-sets, MATLAB stops, gives the error message
Unexpected error status flag encountered. Resetting to proper state.
and refuses to do anything (I can clear the command window, but not the workspace) until I restart the program (which is rather impractical considering I look at the effect of noise and that will repeat then).
Anybody got an explanation for that? Or do you need some other info?
Sincerely Mathias

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!