How can I pilot powerpoint from Matlab ?

3 ビュー (過去 30 日間)
farzad
farzad 2020 年 5 月 5 日
コメント済み: Rik 2020 年 5 月 5 日
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 件)

カテゴリ

Help Center および File ExchangeActiveX についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by