Contenu principal

Generate and Display PowerPoint Presentations

R2026b
Generate and display presentations using the PPT API

Generate PowerPoint® presentations using the MATLAB® API for PowerPoint (PPT API). You can optionally display status, warning, and error messages about the generation process or display the resulting presentation. To generate a presentation, you must close the presentation object which:

  • generates any dynamic content

  • writes the specified output file

  • discards all in-memory information about the presentation object as well as any connections to external files

  • sets the presentation object to a read-only state

You must add all of your content and formatting before closing the presentation object. To modify the output presentation, edit the presentation generator program and generate the output presentation again. To get started, see Generate a Presentation.

If you have the MATLAB Compiler™, you can share your completed presentation program with others who do not have MATLAB installed on their systems or MATLAB Report Generator™. For more information on sharing your presentation generator, see Create a Standalone Application from a Presentation Generator.

Functions

expand all

closeClose presentation
pptviewOpen Microsoft PowerPoint presentation or convert it to PDF
rptviewDisplay report or presentation

Classes

expand all

mlreportgen.ppt.MessageDispatcherPPT message dispatcher
mlreportgen.ppt.MessageEventDataHolds message triggering message event
mlreportgen.ppt.MessageFilterFilter to control message dispatcher
mlreportgen.ppt.ProgressMessageProgress message
mlreportgen.ppt.DebugMessageDebugging message
mlreportgen.ppt.ErrorMessageError message
mlreportgen.ppt.WarningMessageWarning message

Topics