mlreportgen.utils.powerpoint クラス
名前空間: mlreportgen.utils
PowerPoint アプリケーションとプレゼンテーションの操作
説明
このユーティリティは、PowerPoint® アプリケーションおよび PowerPoint プレゼンテーションを操作するためのメソッドを提供します。これらのメソッドは、Microsoft .NET Framework への MATLAB インターフェイスを使用して、PowerPoint エディターを操作します。
メソッド
例
PowerPoint プレゼンテーションを開く
現在の作業フォルダーにある test.pptx
および test1.pptx
の PowerPoint プレゼンテーションを開きます。
pptPres = mlreportgen.utils.powerpoint.open('test') pptPres1 = mlreportgen.utils.powerpoint.open('test1')
pptPres = PPTPres with properties: FileName: 'C:\Users\username\Documents\test.pptx' pptPres1 = pptPres with properties: FileName: 'C:\Users\username\Documents\test1.pptx'
PowerPoint プレゼンテーションのファイル名の取得
開いている PowerPoint プレゼンテーションのファイル名を取得します。
files = mlreportgen.utils.powerpoint.filenames()
files = 1×2 string array "C:\Users\username\Documents\test.pptx" ... "C:\Users\username\Documents\test1.pptx"
バージョン履歴
R2018b で導入