MATLAB 帮助中心
本页采用了机器翻译。点击此处可查看最新英文版本。
类: mlreportgen.ppt.Presentation 命名空间: mlreportgen.ppt
打开演示文稿
open(presentation)
open(presentation) 打开演示文稿并解析模板。
presentation
示例
全部展开
导入 PPT 命名空间,这样您就不必对 PPT API 类使用长而完全限定的名称。
import mlreportgen.ppt.*
创建演示文稿。
ppt = Presentation('myPresentation.pptx');
打开演示文稿。
open(ppt);
在演示文稿中添加标题幻灯片。
slide = add(ppt,'Title Slide'); replace(slide,'Title','My Title');
关闭并查看演示文稿。
close(ppt); rptview(ppt);
mlreportgen.ppt.Presentation
要打开的演示文稿,指定为 mlreportgen.ppt.Presentation 对象。
在 R2015a 中推出
close | mlreportgen.dom.Presentation
close
mlreportgen.dom.Presentation
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处