Create Presentation Content
Use the PPT API to create MATLAB programs to add content to PowerPoint presentations and to create complete PowerPoint presentations. You can create a program that works with the slide master and layouts in a PowerPoint presentation. To get started, see Create a Presentation Generator.
To share your completed presentation program with others who do not have MATLAB installed on their systems, see Create a Standalone Application from a Presentation Program.
Functions
| open | Open presentation | 
| close | Close presentation | 
| getMasterNames | Get names of slide masters for presentation | 
| getLayoutNames | Get names of layouts for presentation slide master | 
| getTableStyleNames | Get table style names for presentation | 
| add | Add slide to presentation | 
| replace | Replace text, tables, or pictures in presentation | 
| mlreportgen.ppt.Presentation.createTemplate | Create copy of PPT API default presentation template (Since R2021a) | 
| pptview | Open Microsoft PowerPoint presentation or convert it to PDF | 
Classes
Topics
- Create a Presentation GeneratorCreate a MATLAB program to generate a PowerPoint presentation. 
- Create PPT ObjectsThe PPT API consists of a hierarchical set of data structures, known as objects, that represent a presentation and its contents. 
- Import the PPT API namespaceAll PPT class names and constructor names have the prefix mlreportgen.ppt.
- Get and Set PPT Object PropertiesMost PPT objects have properties that describe the object. 
- Create a Presentation Object to Hold ContentEvery PPT API program must create an mlreportgen.ppt.Presentationobject to hold presentation content.
- Generate a PresentationTo generate a PowerPoint presentation from your PPT API program, use the API to close the presentation. 
- Display Presentation Generation MessagesThe PPT API can display messages when you generate a PowerPoint presentation. 
- Create a Standalone Application from a Presentation ProgramEnable sharing of PPT API programs with users who do not have MATLAB installed.