MATLAB: Copy & Paste of PowerPoint Slides in Matlab

activexpowerpointslides

Hi there,
I have a PowerPoint template presentation consisting of one slide to which I would like to append several slides with Matlab figures. Hence, for each figure I want to copy and paste this slide and add the figure to the pasted one. Up to now I use an activexserver to open the presentation. I know how to select a slide and how to copy a figure to it, but I don't know how to copy and paste the slide itself.
Can anyone help me? And where can I find documentation for the possible activeX-commands for PowerPoint in Matlab? Searching with Google gives a lot of other ActiveX stuff, probably I used the wrong search items…
Thanks a lot it advance!

Best Answer

I don't know of specific documentation examples for calling PowerPoint as a COM server from MATLAB (there are examples with Excel however), but there is at least one File Exchange submission that might be useful: saveppt
Also, here is the official PowerPoint COM API Reference. Once you are familiar with this API, using it in MATLAB is no different from using it in VBA.