How to install the actxserver function to read word file ?
7 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Walter Roberson
2017-9-9
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 个评论
Walter Roberson
2017-9-9
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-
另请参阅
类别
在 Help Center 和 File 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!