delikkate / matlab-email-after-execution

A function that emails you the time it took your MATLAB code to execute, or forwards you the error message if the execution failed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

matlab-email-after-execution

email_after_execution.m is a MATLAB function that sends you an email after your code has finished running and reports how long it took to execute it. If execution fails, MATLAB mails you the error message. Designed for when you've left your script running in the office overnight, and now are tossing and turning in bed wondering how it's doing.

The function reuses two bits of code found on GitHub:

  1. matlabmail.m -- gist published by David Gleich
  2. seconds2human.m -- repo by Rody Oldenhuis

You might need to switch off the two-step verification in order to make matlabmail work. Check out the developer's blog for details.

About

A function that emails you the time it took your MATLAB code to execute, or forwards you the error message if the execution failed.


Languages

Language:MATLAB 100.0%