5.0

5.0 | 1 rating Rate this file 23 Downloads (last 30 days) File Size: 1.53 KB File ID: #18457

MATLAB controls and writes PowerPoint

by George Thiers

 

24 Jan 2008 (Updated 25 Jan 2008)

MATLAB as a COM client, Microsoft PowerPoint (or any Office 2003 application) as a COM server

| Watch this File

File Information
Description

The MATLAB functions XLSREAD and XLSWRITE open Microsoft Excel as a COM Automation Server in the background, and read or write data. Using the same mechanism, it is possible to open, write to, and fully control Microsoft PowerPoint from MATLAB. The advantage is that from a single tool, both the data analysis and the presentation creation can be scripted.

This is the same functionality used in Mark Brown's submission referenced below. Mark Brown's "saveppt.m" is a cleanly packaged solution, whereas this submission is an open script intended to show what's going on, and empower users to create their own customized "pptwrite" functions.

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
saveppt

MATLAB release MATLAB 7.4 (R2007a)
Other requirements Windows only
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
19 Jun 2009 Andres

Very helpful demo script to get started. Thanks!

14 Sep 2009 Rodrigo Carvallo

Im a begginner using matlab and im interested in writting ppts from matlab 6.5 to microsoft ppt 2003.
I tried with this code but i couldnt do it. Someone knows how to use this code in 6.5. Do you have to change some lines of the code or something else to have success using this?
Is there another useful code to write ppt 2003 from matlab 6.5?

Thanks in Advance

11 Jan 2012 Van

This code easily works, but for Office 2010, it fails.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
external interface George Thiers 22 Oct 2008 09:44:36
matlab publish powerpoint power point xlswrite xlsread excel wor George Thiers 22 Oct 2008 09:44:36
matlab publish powerpoint power point xlswrite xlsread excel wor David 25 Feb 2010 20:22:32

Contact us at files@mathworks.com