Main Content

mlreportgen.ppt.Presentation.createTemplate

Class: mlreportgen.ppt.Presentation
Namespace: mlreportgen.ppt

Create copy of PPT API default presentation template

Since R2021a

Syntax

templatePath = mlreportgen.ppt.Presentation.createTemplate(path)

Description

templatePath = mlreportgen.ppt.Presentation.createTemplate(path) creates a copy of the PPT API default presentation template at the specified location and returns the full path of the new template.

Input Arguments

expand all

Path and file name of the new template, specified as a character vector or string scalar. The .pptx file name extension is optional.

Output Arguments

expand all

Path and file name of the template copy, returned as a character vector

Attributes

Statictrue

To learn about attributes of methods, see Method Attributes.

Examples

expand all

Create a copy of the PPT API template in the current folder.

templatePath = mlreportgen.ppt.Presentation.createTemplate("MyTemplate.pptx");

Version History

Introduced in R2021a