0
我是Matlab新手。導入以下類:mlreportgen.ppt.*
,演示文稿在當前文件夾中創建。 但是,我想在不同的位置生成演示文稿。 發現以下語法,但我不確定如何實現它:如何更改matlab中的演示文件的路徑?
presentationObj = Presentation() creates a presentation named Untitled.pptx in the current folder, using the default PPT API default.pptx template.
presentationObj = Presentation(presentationPath) creates a presentation at the specified location.
presentationObj = Presentation(presentationPath,templatePath) creates a presentation using the PowerPoint template at the specified location.
在我的代碼,使用下面的演示中以產生幻燈片:
slides = Presentation(outputFile, strcat('template_', num2str(number_of_devices))); "
where outputfile = strcat ('name','.pptx')
謝謝! @beesleep – Ish