saveppt

This function saves Matlab figure windows or Simulink models to a Powerpoint file.
30.7K Downloads
Updated 31 Mar 2016

View License

Editor's Note: This file was a File Exchange Pick of the Week

This function saves Matlab figure windows or Simulink models to a Powerpoint file in metafile format using the ActiveX interface. The figure or model is first copied to the Windows clipboard, Powerpoint is started, a new blank slide is added, the figure/model is pasted, the file is saved, and Powerpoint is closed. If the Powerpoint file does not exist, a new one is created. An optional input argument allows you to add a unique title to the PowerPoint slide when it is created. This routine is handy when a large number of graphics must be inserted into Powerpoint, such as within a FOR loop. It is also a good example of how to use ActiveX to move Matlab graphics to other Windows programs.
Version 2.2 allows figures to be saved quietly in the background without PPT being visible.

Cite As

Mark Brown (2024). saveppt (https://www.mathworks.com/matlabcentral/fileexchange/340-saveppt), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
2.2.0.0

Included BSD license.

1.0.0.0

Version 2.2 allows figures to be saved quietly in the background without PPT being visible. Thanks go to Noah Siegel for the basic code.