Notifier (Scripts) Publisher's description
from Benjamin Kraus
notifier - Notifies you via email when a function finishes
notifier - Notifies you via email when a function finishes.
varargout = notifier(recipients, fh, varargin)
notifier is a wrapper for a sub function. It takes as input a list of recipients, a function handle, and arguments for the sub function. It then calls the sub function, passing in all the arguments, and notifies the recipients via email when the sub function completes. In the event of an error, the text of the error message is sent to the recipients via email. This is designed for long running functions, so you can leave the computer and be notified when to come back. This function uses sendmail to send notices, so make sure that sendmail is working properly before attempting to use this function. Sendmail accepts email addreses, but if your phone/carrier supports this feature, you can often use specially fomatted email addresses to send TXT messages to your mobile phone. For example, for Verizon Wireless, you can use the email address
recipients - E-mail addresses to notify. Passed directly to sendmail,
so see the documentation for sendmail for formatting.
fh - Function handle for the sub function to run.
varargin - Input arguments passed directly to the sub function.
varargout - Output from the sub funtion is passed directly as output
from this function.
output = myfunc(arg1, arg2)
output = notifier('email@example.com', @myfunc, arg1, arg2)
System Requirements:MATLAB 7.10 (2010a)
Program Release Status: New Release
Program Install Support: Install and Uninstall