How can I pilot powerpoint from Matlab ?

조회 수: 1 (최근 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 CenterFile Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by