mlreportgen.utils.powerpoint クラス
R2026b名前空間: mlreportgen.utils
PowerPoint アプリケーションとプレゼンテーションの操作
説明
このユーティリティは、PowerPoint® アプリケーションおよび PowerPoint プレゼンテーションを操作するためのメソッドを提供します。これらのメソッドは、Microsoft® .NET Framework への MATLAB® インターフェイスを使用して PowerPoint エディターと通信します。
メソッド
例
PowerPoint プレゼンテーションを開く
現在の作業フォルダーにある、test.pptx および test1.pptx という PowerPoint プレゼンテーションを開きます。
pptPres = mlreportgen.utils.powerpoint.open("test") PPTPres with properties: FileName: "C:\Users\username\Documents\test.pptx" pptPres1 = mlreportgen.utils.powerpoint.open("test1") 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"
制限
mlreportgen.utils.powerpointは Microsoft Windows® でのみ使用できます。mlreportgen.utils.powerpointは MATLAB Web アプリではサポートされていません。
バージョン履歴
R2018b で導入