How can I pilot powerpoint from Matlab ?

3 次查看(过去 30 天)
Hi All
how can I add the results of my analysis in matlab, mostly images saved in folders, to the pages in a powerpoint and a word file ? how much flexible is Matlab in this ?

采纳的回答

Rik
Rik 2020-5-5
There are two ways I know of, neither is simple:
  1. Use ActiveX (which will be removed from Matlab in a future release and will only help you on a Windows machine)
  2. Write the compressed XML file yourself. The docx and pptx formats are just zip files with an XML backbone, so if you can figure out how Microsoft stores everything, you can create your own documents from scratch.
  2 个评论
farzad
farzad 2020-5-5
That's so strange and sad and weird that ActiveX is gonna be removed from Matlab if it's this usefull.
I wish there was an already written function or toolbox that would do this favor.
Do you know how to write these Xml files ? any example done in Matlab ? have you done it ?
Rik
Rik 2020-5-5
I haven't looked up if it is actually going to be removed, but ActiveX is starting to show its age, and as I understand it there are some security concerns. To be clear: I'm not an expert on either ActiveX or the security ramifications.
I don't know how to write .docx or .pptx files. If I did, I would probably post that on the FEX or GitHub, so I would suggest you look there.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by