Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Problem in Outlook with Matlab

Subject: Problem in Outlook with Matlab

From: Deepanshu

Date: 13 Dec, 2012 20:58:07

Message: 1 of 2

I was trying to make connections with outlook via matlab.
>>outlook = actxserver('Outlook.Application')
gives
outlook =
 
COM.Outlook_Application
>>mapi=outlook.GetNamespace('mapi')

No appropriate method, property, or field GetNamespace for class
COM.Outlook_Application.
^^ Error comes.


Also
>>fieldnames(outlook)
ans =
  Empty cell array: 0-by-1
>>invoke(outlook)
gives no result at all.
>>get(outlook)
1x1 struct array with no fields.

This used to work perfectly earlier.what is the problem now?I am using Matlab 2012 a and outlook 2007.Can Anyone help..

Subject: Problem in Outlook with Matlab

From: Ryan

Date: 24 Dec, 2012 01:12:09

Message: 2 of 2

"Deepanshu" wrote in message <kadfgv$5jj$1@newscl01ah.mathworks.com>...
> I was trying to make connections with outlook via matlab.
> >>outlook = actxserver('Outlook.Application')
> gives
> outlook =
>
> COM.Outlook_Application
> >>mapi=outlook.GetNamespace('mapi')
>
> No appropriate method, property, or field GetNamespace for class
> COM.Outlook_Application.
> ^^ Error comes.
>
>
> Also
> >>fieldnames(outlook)
> ans =
> Empty cell array: 0-by-1
> >>invoke(outlook)
> gives no result at all.
> >>get(outlook)
> 1x1 struct array with no fields.
>
> This used to work perfectly earlier.what is the problem now?I am using Matlab 2012 a and outlook 2007.Can Anyone help..


What about this?
http://www.mathworks.com/support/solutions/en/data/1-RTY6J/
http://www.mathworks.com/support/solutions/en/data/1-RTY6J/

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us