Path: news.mathworks.com!not-for-mail
From: "AHMET ANIL DINDAR" <adindar@iku.edu.tr>
Newsgroups: comp.soft-sys.matlab
Subject: "program terminated" message by mail
Date: Tue, 15 Jul 2008 22:22:02 +0000 (UTC)
Organization: Istanbul Kultur University
Lines: 18
Message-ID: <g5j7ua$s3u$1@fred.mathworks.com>
Reply-To: "AHMET ANIL DINDAR" <adindar@iku.edu.tr>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1216160522 28798 172.30.248.38 (15 Jul 2008 22:22:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 15 Jul 2008 22:22:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 389985
Xref: news.mathworks.com comp.soft-sys.matlab:479619



Hi,
I've been doing a long-hours-run analysis in MATLAB in which
I used "sendmail" in several parts of the script with the
intention of having been informed about the process. It
worked superb till now.

However, my analysis program terminates due to several
reasons. At such moment, I follow the incoming mails and
find the last action in the process. Is it possible to write
a code that runs my program and checks whether it is running
or not? And in case of termination the code sends an e-mail
message.

Any idea?

thanks in advance.

ahmet_anil_dindar