saveppt2

Version 1.2.0.0 (618 KB) by Jed F.
Save Matlab figure(s) to a PowerPoint Slide
13.4K Downloads
Updated 3 Jun 2010

View License

saveppt2 builds on saveppt to include many new options.

Saveppt2 Features:
Save multiple plots to the same PowerPoint slide.
Create slides with and without a title.
Add notes to a PowerPoint slide
Scale the figure to fill the slide (with and without locking aspect ratio).
Horizontally and vertically align figures on the slide.
Use a template file for creating a new presentation. (Useful for automated reports)
Add padding to any of the sides for use with scaling or aligning figures.

New in Jun 2010.
Can choose between Metafile or bitmap drivers when copy and pasting to PowerPoint.
Add a blank title page or blank page from Matlab.
Add comments & textbox to slide.
Make PowerPoint visible during operations. (Required for Comments).
If there is another PowerPoint presentation open, PowerPoint will not quit.
Disable closing of PowerPoint presentation and return ActiveX object for further programmatic slide manipulation.

Also added a method to do batch processing by keeping an ActiveX session open and just adding new slides to it.
ppt=saveppt2('batch.ppt','init');
for i=1:10
plot(rand(1,100),rand(1,100),'*');
saveppt2('ppt',ppt)
end
saveppt2('batch.ppt','ppt',ppt,'close');

The zip file includes saveppt2 and a sample presentation created with saveppt2. The code for creating the presentation is also included.
--
GitHub Project:
http://github.com/jedediahfrey/Jedediah-Frey-s-MATLABCentral-Projects

Cite As

Jed F. (2024). saveppt2 (https://www.mathworks.com/matlabcentral/fileexchange/19322-saveppt2), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

saveppt2/html/

Version Published Release Notes
1.2.0.0

Update to version 3.5.
-
Incorporated suggestions in comments. In addition to code cleanup, minor bugs, 'workarounds' for ActiveX odd behavior.

1.1.0.0

Added github repository.

1.0.0.0