How to install the actxserver function to read word file ?

조회 수: 3 (최근 30일)
RogerLM
RogerLM 2017년 9월 9일
댓글: RogerLM 2017년 9월 10일
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

답변 (1개)

Walter Roberson
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
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.
You might have to add to the Java Class Path to use the java interface from within MATLAB.
To use the C++ interface you would use loadlibrary()
RogerLM
RogerLM 2017년 9월 10일
Great! Thanks !

댓글을 달려면 로그인하십시오.

카테고리

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