主要内容

mlreportgen.ppt.Presentation.createTemplate

类:mlreportgen.ppt.Presentation
包:mlreportgen.ppt

创建副本PPT API的默认显示模板

自从R2021a

语法

templatePath = mlreportgen.ppt.Presentation.createTemplate(路径)

描述

templatePath= mlreportgen.ppt.Presentation.createTemplate (路径)创建一个副本PPT API的默认显示模板在指定的位置,并返回新模板的完整路径。

输入参数

全部展开

路径和文件名的新模板,指定为一个特征向量或字符串标量。的.pptx文件扩展名是可选的。

输出参数

全部展开

路径和文件名模板的副本,作为一个特征向量返回

例子

全部展开

API创建一个副本PPT模板在当前文件夹。

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

版本历史

介绍了R2021a