How to read Ms word file in matlab?
조회 수: 14 (최근 30일)
이전 댓글 표시
i want to read Ms word file in matlab..please someone help me out...Thanks..
댓글 수: 4
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...
답변 (1개)
per isakson
2014년 8월 24일
편집: per isakson
2014년 8월 24일
I assume you have Ms Word installed. If so
- Search the File Exchange for "ActiveX Word" to get ideas
- See especially OfficeDoc - read/write/format MS Office docs (XLS/DOC/PPT) by Yair Altman
Start an ActiveX session with Word
wordX = actxserver('Word.Application');
and make an experiment
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!