using templates in saveppt2

4 views (last 30 days)
Art
Art on 29 Apr 2015
Edited: Art on 29 Apr 2015
Is anyone familiar with saveppt2?
This program saves Matlab figures to powerpoint slides, and I have used it successfully to do this. However, I can't seem to get it to use my template. I am using Matlab 2012b, Windows 7.
I have created a template which exists in the standard ppt templates location, and I've also tried creating the template in the Matlab path where my files exist, just in case there was a path issue.
When I type: ppt=saveppt2('Test_1','Template','Test_1_Template.ppt','init') I get the error message:
"Error using Interface.91493462_5A91_11CF_8700_00AA0060263B/Open
Invoke Error, Dispatch Exception:
Source: Microsoft PowerPoint 2010
Description: PowerPoint could not open the file."
If I omit the 'Template' call and just use 'Test_1_Template.ppt' as the ppt to open (using this as my save file, instead of a template), it opens fine and the figures are saved to the end of the template.
Anyone know why it wouldn't be able to open as a template?

Answers (0)

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!