is it possible to write a matlab code that commands outlook to constantly export information?

4 views (last 30 days)
So outlook has an export feature that allows me to export all my appointments on my calendar as a CSV file. I was hoping to take the csv file and put the data in a sql database. My problem is trying to get matlab to cause outlook to export the appointments when prompted... Does anyone know if this is even possible? If so, can someone give me some advice to go about that?
Thank you!!

Accepted Answer

dbmn
dbmn on 26 Jan 2017
Hi,
I might be able to provide half of the solution.
I can show you how to get the active X working with Matlab and Outlook but I have no idea which command you need to export calendar items. You should be able to find the needed method on the msdn website of microsoft.
% Active X Connection
h= actxserver('outlook.Application');
% Do something (f.ex. create email)
h2 = h.CreateItem('olMail')

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!