saveppt
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
Platform Compatibility
Windows macOS LinuxCategories
- Reporting and Database Access > Simulink Report Generator >
- MATLAB > External Language Interfaces > COM with MATLAB > Use COM Objects in MATLAB >
Tags
Acknowledgements
Inspired: save2word, WriteToWordFromMatlab, Quick_Figure, MATLAB controls and writes PowerPoint, saveppt2, subplotPPT, Paste a Matlab figure to Excel, Smart PowerPoint Exporter
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.