Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Print in Microsoft office word

Subject: Print in Microsoft office word

From: Gumah

Date: 14 Aug, 2010 04:55:48

Message: 1 of 3

Hi all
is there any way to print a text from matlab code into Microsoft
office word.
For Example: fprintf( ' 123' ); .. How to print this :123 in office
word file insted of the matlb window

Subject: Print in Microsoft office word

From: Pekka Kumpulainen

Date: 14 Aug, 2010 07:19:04

Message: 2 of 3

Gumah <alrjele2004@gmail.com> wrote in message <999125db-741c-4410-8219-6f1aa211d774@f20g2000pro.googlegroups.com>...
> Hi all
> is there any way to print a text from matlab code into Microsoft
> office word.
> For Example: fprintf( ' 123' ); .. How to print this :123 in office
> word file insted of the matlb window

One way:
doc publish

Subject: Print in Microsoft office word

From: Yair Altman

Date: 14 Aug, 2010 19:10:09

Message: 3 of 3

Gumah <alrjele2004@gmail.com> wrote in message <999125db-741c-4410-8219-6f1aa211d774@f20g2000pro.googlegroups.com>...
> Hi all
> is there any way to print a text from matlab code into Microsoft
> office word.
> For Example: fprintf( ' 123' ); .. How to print this :123 in office
> word file instead of the matlab window

Try the OfficeDoc utility: http://www.mathworks.com/matlabcentral/fileexchange/15192-officedoc-readwriteformat-ms-office-docs-xlsdocppt

OfficeDoc read, writes and formats text and images in Microsoft Office Docs (Word, Excel and PowerPoint)

Yair

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us