getMasterNames

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

Get names of slide masters for presentation

Description

example

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

Examples

expand 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

expand all

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

Output Arguments

expand all

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

Introduced in R2015b