Main Content

open

Class:mlreportgen.ppt.Presentation
Package:mlreportgen.ppt

Open presentation

Description

example

open(presentation)opens a presentation and parses the template.

Examples

expand all

Import the PPT package so that you do not have to use long, fully qualified names for the PPT API classes.

importmlreportgen.ppt.*

Create a presentation.

ppt = Presentation('myPresentation.pptx');

Open the presentation.

open(ppt);

Add a title slide to the presentation.

slide = add(ppt,'Title Slide'); replace(slide,'Title','My Title');

Close and view the presentation.

close(ppt); rptview(ppt);

Input Arguments

expand all

Presentation to open, specified as anmlreportgen.ppt.Presentationobject.

Version History

Introduced in R2015a