I'm currently programming a Matlab file (on Windows, with R2008b Matlab) that will be included in a stand-alone PC (i.e. once the program will be started, no human intervention will be possible anymore). This program will have to run during some days, without interruptions. I've already tried to test the code during some hours, but a "segmentation violation" error occurred, after, at least, several hours. When this occurs, a "Matlab system error" dialog box appears, and a click has to be done in order to exit Matlab.
I was wondering if it was possible, when a segmentation violation error occurs, to automatically exit Matlab without having to click on that button. This would be useful for me, because, in that case, it would be possible for Windows to detect the end of the Matlab process, and to re-execute it automatically, as well as the Matlab file (-> no human intervention required).
Thank you in advance for your answers.