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

7 Ansichten (letzte 30 Tage)
Convert a microsoft word document to an excel document using matlab code

Akzeptierte Antwort

Iain
Iain am 6 Jun. 2013
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 Kommentare
Friedrich
Friedrich am 6 Jun. 2013
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 am 6 Jun. 2013
If its a nicely formatted table you can try uiimport, which relies on dlmread, csvread, etc.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

fdsffdser
fdsffdser am 29 Aug. 2013
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.

Kategorien

Mehr zu MATLAB Report Generator finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by