How to read Ms word file in matlab?

조회 수: 14 (최근 30일)
azizullah khan
azizullah khan 2014년 8월 24일
댓글: azizullah khan 2014년 8월 25일
i want to read Ms word file in matlab..please someone help me out...Thanks..
  댓글 수: 4
Aniruddha Phatak
Aniruddha Phatak 2014년 8월 24일
If the Word file contains only text, you could try using the textread or textscan function. Also check http://www.mathworks.in/help/matlab/import_export/supported-file-formats.html
I don't believe .doc is supported though I read something about Excel spreadsheets in there...
azizullah khan
azizullah khan 2014년 8월 25일
Thanks for comments. My main aim is to read a pdf file but due to failure i will convert pdf file to word by software and then will read word file..but i realize that i must have to read pdf file.So if any one have tried on and have some code kindly share it with me..or just give me a clue that how it can be possible..Thanks one again............i really need it..

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

답변 (1개)

per isakson
per isakson 2014년 8월 24일
편집: per isakson 2014년 8월 24일
I assume you have Ms Word installed. If so
Start an ActiveX session with Word
wordX = actxserver('Word.Application');
and make an experiment

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by