mlreportgen.ppt.Presentation.getMasterNames

Package: mlreportgen.ppt

Get names of slide masters for presentation

Syntax

masters = getMasterNames(presentation)

Description

example

masters = getMasterNames(presentation) gets the names of slide masters for a presentation.

Examples

collapse all

Create a presentation.

import mlreportgen.ppt.*
slides = Presentation('myGetMastersPresentation');

Get the names of master slides in the presentation. The default PPT API template has just one slide master.

masters = getMastersNames(slides);
masters(1)
ans = 

    'Office Theme'

Input Arguments

collapse all

Presentation to get slide master names for, specified as an mlreportgen.ppt.Presentation object.

Output Arguments

collapse all

Slide masters in presentation, returned as a cell array of character vectors.

Introduced in R2015b