File Exchange

image thumbnail

READMAIL

version 1.0.0.1 (1.51 KB) by

Imports the text from emails into MATLAB & saves attachments from Microsoft Outlook.

10 Downloads

Updated

View License

A simple script highlighting how you can connect to Outlook and import emails into MATLAB. It allows you to:
Import Subject Text
Import Body Text
Save attachements to the current directory.

Comments and Ratings (6)

Koray Kirca

Hi,
I have this error. Any solutions?

Error using Interface.Microsoft_Outlook_15.0_Object_Library._Items/Item
Invoke Error, Dispatch Exception:
Source: Microsoft Outlook
Description: Array index out of bounds.

subject = firstemail.get('Subject');
body = firstemail.get('Body');

what about sender address ??

How I can connect with yahoo mail please...

Jens Koopmann

Exactly what I need ******

Marc Jakobi

Hi.
Thanks for the submission. Seems to work fine. But unfortunately, only for my default outlook account. I have 3 accounts on Outlook. Do you know how I could access the e-mails on one of my secondary accounts?

Zoe Zhang

Hi David,

I get email from the same person (with the same subject)around the same time everyday. How could I edit your code so that everyday this particular email could be loaded into matlab? Thanks a lot!

Updates

1.0.0.1

Updated license

MATLAB Release
MATLAB 7.13 (R2011b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video