How can I pilot powerpoint from Matlab ?

1 visualizzazione (ultimi 30 giorni)
farzad
farzad il 5 Mag 2020
Commentato: Rik il 5 Mag 2020
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 ?

Risposta accettata

Rik
Rik il 5 Mag 2020
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 Commenti
farzad
farzad il 5 Mag 2020
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 il 5 Mag 2020
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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Use COM Objects in MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by