How to install the actxserver function to read word file ?
Ältere Kommentare anzeigen
I would like to read some word file using matlab, and I found that I could use actxserver function but it seems it's not install in my matlab version ? Do you know how I can fix it ? Thanls
Antworten (1)
Walter Roberson
am 9 Sep. 2017
1 Stimme
actxserver() is only available on MS Windows versions of MATLAB.
There is no way to use ActiveX to control MS Word on OS-X.
5 Kommentare
RogerLM
am 9 Sep. 2017
Walter Roberson
am 9 Sep. 2017
https://www.libreoffice.org/ LibreOffice is the successor to OpenOffice. It provides applications, but it also provides libraries that can be linked against, such as if you were to use loadlibrary() within MATLAB.
RogerLM
am 9 Sep. 2017
Walter Roberson
am 9 Sep. 2017
See https://api.libreoffice.org/ for the interface documentation. Java interface is documented and C++ interface is documented. You should be able to use either.
To use the C++ interface you would use loadlibrary()
You might find it informative to look at https://www.mathworks.com/matlabcentral/fileexchange/28411-read-and-write-open-document-format--odf--spreadsheet---ods-
RogerLM
am 10 Sep. 2017
Kategorien
Mehr zu Use COM Objects in MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!