I'm a student assistant at University of Twente, and while reviewing work of my students I stumped on a failure at my own matlab. If I should get an error thanx to the recursion limit (IE: recursion limit reached, you can reset it but it might crash your computer and matlab... lovely error) I don't get that message but Matlab just closes. IE) function [ result ] = test( x ) result = test(x); Gets Windows to close my Matlab without getting the recursionlimit-error.
I rechecked my recursion limit by get(0,'RecursionLimit') but that just gives me an answer of '500'. Which should be fine.
But in stead of the normal matlab-error-message I get a windows-error-message saying 'a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available' Proper recursion codes work normally, it's specificly the ones that I know will get into an infinite loop.
(FYI: I'm running a legal windows 7 and Matlab 7.12.0 R2011a with university licence)
No products are associated with this question.
Sounds to me like MATLAB is running out of memory in a situation that is not (for whatever reason) nicely caught. MATLAB's recursion limit is designed to assist in finding program bugs, but is not promised to be fool-proof.
Play games and win prizes!Learn more