Main Content

Create Presentation Content

Use the MATLAB® API for PowerPoint® (PPT API) to 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

openOpen presentation
closeClose presentation
getMasterNamesGet names of slide masters for presentation
getLayoutNamesGet names of layouts for presentation slide master
getTableStyleNamesGet table style names for presentation
addAdd slide to presentation
replaceReplace text, tables, or pictures in presentation
dispatchDispatch PPT status message
mlreportgen.ppt.Presentation.createTemplateCreate copy of PPT API default presentation template (Since R2021a)
mlreportgen.ppt.MessageDispatcher.getTheDispatcherReturn PPT message dispatcher
formatAsTextFormat message as text
formatAsHTMLWrap message in HTML tags
passesFilterDetermine if message passes filter
pptviewOpen Microsoft PowerPoint presentation or convert it to PDF

Classes

mlreportgen.ppt.PresentationCreate a Microsoft PowerPoint presentation container
mlreportgen.ppt.SlidePresentation slide
mlreportgen.ppt.TextText to include in a presentation
mlreportgen.ppt.TextBoxText box
mlreportgen.ppt.ExternalLinkHyperlink to location outside of presentation
mlreportgen.ppt.InternalLinkHyperlink to a slide in a presentation (Since R2021a)
mlreportgen.ppt.TableTable in presentation
mlreportgen.ppt.PicturePicture to include in presentation
mlreportgen.ppt.ContentPlaceholderPlaceholder for slide content
mlreportgen.ppt.TextBoxPlaceholderPlaceholder for slide title
mlreportgen.ppt.TablePlaceholderPlaceholder for slide table
mlreportgen.ppt.PicturePlaceholderPlaceholder for slide picture
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