How to copy content of of 7*14 matrix file(*.mat) to a table on Microsoft Word??

1 Ansicht (letzte 30 Tage)
How to copy content of of 7*14 matrix file(*.mat) to a table on Microsoft Word??

Antworten (2)

Image Analyst
Image Analyst am 30 Jun. 2015
If you're using Windows, you have to use ActiveX to have MATLAB directly control Word. I'm attaching a program to use it with Excel, but you can search the forum to see if anyone has used it with Word.
  5 Kommentare
Nisreen Sulayman
Nisreen Sulayman am 3 Jul. 2015
Mr. Image Analtst, it didn't work.
how to make the *. mat variable values in appear in two digits after comma??
Image Analyst
Image Analyst am 3 Jul. 2015
Appear where? If you used format bank and just left off the semicolon, the number should echo to the command window with only two numbers to the right of the decimal point. What did you do (apparently it wasn't this)?

Melden Sie sich an, um zu kommentieren.


Thorsten
Thorsten am 3 Jul. 2015
  1 Kommentar
Nisreen Sulayman
Nisreen Sulayman am 3 Jul. 2015
it gave the following error
Error using Interface.00020975_0000_0000_C000_000000000046/set
Invoke Error, Dispatch Exception:
Source: Microsoft Word
Description: Åä ÇáÚäÕÑ Ðæ ÇáÇÓã ÇáãÍÏÏ ÛíÑ ãæÌæÏ.þ
Help File: wdmain11.chm
Help Context ID: 62e2
Error in table2word (line 157)
else set(Doc.Selection,'Style','Table Normal'); end

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by