Is it possible to convert a word documenet to an .xls file using matlab code? If so, can you help or refer me to a link that will help me do that

Convert a microsoft word document to an excel document using matlab code

2 件のコメント

We might have some trouble with the custom kerning. Are you okay with that?
Cordelle
Cordelle 2013 年 6 月 6 日
Yes, that will be okay. thanks

サインインしてコメントする。

 採用された回答

Iain
Iain 2013 年 6 月 6 日
Possible? Yes. Sensible? No.
You'll need to interact with word and excel via active x controls. If you look at the code for xlsread, you'll see how. - Basically, it uses visual basic commands, which you can access via xl or word already.

9 件のコメント

Cordelle
Cordelle 2013 年 6 月 6 日
編集済み: Cordelle 2013 年 6 月 6 日
I have document whose type is unknown, its just a pass report from an antenna; i need to do calculation with the data from the report but matlab cant just read any type of file. Is there a way i could convert the pass reports to an excel file via code?
Iain
Iain 2013 年 6 月 6 日
Is it actually a word document, or something else?
Cordelle
Cordelle 2013 年 6 月 6 日
its something else
Friedrich
Friedrich 2013 年 6 月 6 日
Can you post how that report looks?
Cordelle
Cordelle 2013 年 6 月 6 日
i would but there is no attachment. however, properties state that it opens with windows shell commor
Iain
Iain 2013 年 6 月 6 日
Can you open it in Notepad/Wordpad and look at the data?
Cordelle
Cordelle 2013 年 6 月 6 日
yes
Friedrich
Friedrich 2013 年 6 月 6 日
then have a look at low level file i/o like fopen, fscanf, fread, textscan, fgetl etc. In that way you should be able to read in the data.
Iain
Iain 2013 年 6 月 6 日
If its a nicely formatted table you can try uiimport, which relies on dlmread, csvread, etc.

サインインしてコメントする。

その他の回答 (1 件)

fdsffdser
fdsffdser 2013 年 8 月 29 日
drag and drop word files to this word control and then click the word converting menue to convert word to other formats including pdf jpg. i haven't tried .xls. so i am not sure about whether it can make it . but it is very powerful in converting, so i have confidence on it.

タグ

質問済み:

2013 年 6 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by