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:
Create a Word document using Matlab

Subject: Create a Word document using Matlab

From: Jos

Date: 24 Nov, 2009 14:40:17

Message: 1 of 9

Hi,

In order to create an automated documentation tool, I want Matlab to export text and graphs (niecely formatted) into word (or something else like pdf or similar). For now, I export is to a .txt-file and copy-paste it afterwards, but in order to further increase the automation, I want to check if it is possible to export to any other type of document, so: Is this possible in Matlab? And if so, using which functions (or toolboxes)?

Jasper

Subject: Create a Word document using Matlab

From: Arnaud Miege

Date: 24 Nov, 2009 16:11:38

Message: 2 of 9


"Jos " <jappedaneels@mathworks.com> wrote in message
news:hegr8h$ihq$1@fred.mathworks.com...
> Hi,
>
> In order to create an automated documentation tool, I want Matlab to
> export text and graphs (niecely formatted) into word (or something else
> like pdf or similar). For now, I export is to a .txt-file and copy-paste
> it afterwards, but in order to further increase the automation, I want to
> check if it is possible to export to any other type of document, so: Is
> this possible in Matlab? And if so, using which functions (or toolboxes)?
>
> Jasper
>

Yes, using the MATLAB Report Generator:
http://www.mathworks.com/products/ML_reportgenerator/

HTH,

Arnaud

Subject: Create a Word document using Matlab

From: Yair Altman

Date: 24 Nov, 2009 17:35:20

Message: 3 of 9

"Arnaud Miege" <arnaud.miege@nospam.mathworks.co.uk> wrote in message <heh0jq$rk7$1@fred.mathworks.com>...
>
> "Jos " <jappedaneels@mathworks.com> wrote in message
> news:hegr8h$ihq$1@fred.mathworks.com...
> > Hi,
> >
> > In order to create an automated documentation tool, I want Matlab to
> > export text and graphs (niecely formatted) into word (or something else
> > like pdf or similar). For now, I export is to a .txt-file and copy-paste
> > it afterwards, but in order to further increase the automation, I want to
> > check if it is possible to export to any other type of document, so: Is
> > this possible in Matlab? And if so, using which functions (or toolboxes)?
> >
> > Jasper
> >
>
> Yes, using the MATLAB Report Generator:
> http://www.mathworks.com/products/ML_reportgenerator/
>
> HTH,
> Arnaud


OfficeDoc is a much cheaper alternative:
Free version: http://www.mathworks.com/matlabcentral/fileexchange/15192
Pro version: http://ymasoftware.com

Yair

Subject: Create a Word document using Matlab

From: Arkadiy Turevskiy

Date: 24 Nov, 2009 18:15:23

Message: 4 of 9

"Yair Altman" <altmanyDEL@gmailDEL.comDEL> wrote in message <heh5go$8bh$1@fred.mathworks.com>...
> "Arnaud Miege" <arnaud.miege@nospam.mathworks.co.uk> wrote in message <heh0jq$rk7$1@fred.mathworks.com>...
> >
> > "Jos " <jappedaneels@mathworks.com> wrote in message
> > news:hegr8h$ihq$1@fred.mathworks.com...
> > > Hi,
> > >
> > > In order to create an automated documentation tool, I want Matlab to
> > > export text and graphs (niecely formatted) into word (or something else
> > > like pdf or similar). For now, I export is to a .txt-file and copy-paste
> > > it afterwards, but in order to further increase the automation, I want to
> > > check if it is possible to export to any other type of document, so: Is
> > > this possible in Matlab? And if so, using which functions (or toolboxes)?
> > >
> > > Jasper
> > >
> >
> > Yes, using the MATLAB Report Generator:
> > http://www.mathworks.com/products/ML_reportgenerator/
> >
> > HTH,
> > Arnaud
>
>
> OfficeDoc is a much cheaper alternative:
> Free version: http://www.mathworks.com/matlabcentral/fileexchange/15192
> Pro version: http://ymasoftware.com
>
> Yair

You may also try "publish" command in MATLAB.

Subject: Create a Word document using Matlab

From: Nicolas

Date: 24 Nov, 2009 19:02:05

Message: 5 of 9

Hi Jasper,

I use the command "notebook".
http://amath.colorado.edu/computing/Matlab/OldTechDocs/notebook.pdf

It needs a small effort to prepare Word but then it allows you to type the Matlab command directly in the Word document and to evaluate them by calling Matlab from Word.

Regards,

Nicolas

Subject: Create a Word document using Matlab

From: Jos

Date: 25 Nov, 2009 10:11:03

Message: 6 of 9

Is it possible to make a stand-alone version of my program ( which reads data, produces graphs and text and makes a document out of it) using any of the above methods?
So what I mean is, when I use Compiler to make an executable out of it, will the program still run on a computer which does not have Matlab but only MCR?

Subject: Create a Word document using Matlab

From: Nicolas Cusseau

Date: 25 Nov, 2009 10:40:04

Message: 7 of 9

"Jos " <jappedaneels@mathworks.com> wrote in message <heivrn$mn6$1@fred.mathworks.com>...
> Is it possible to make a stand-alone version of my program ( which reads data, produces graphs and text and makes a document out of it) using any of the above methods?
> So what I mean is, when I use Compiler to make an executable out of it, will the program still run on a computer which does not have Matlab but only MCR?

Hi Jos,

Your program could launch Matlab as an automation server and then call "notebook" from it.
Thus Matlab launches Word and both exchange commands.

Regards,
Nicolas

Subject: Create a Word document using Matlab

From: Alex

Date: 21 Jul, 2010 17:31:13

Message: 8 of 9

"Jos " <jappedaneels@mathworks.com> wrote in message <hegr8h$ihq$1@fred.mathworks.com>...
> Hi,
>
> In order to create an automated documentation tool, I want Matlab to export text and graphs (niecely formatted) into word (or something else like pdf or similar). For now, I export is to a .txt-file and copy-paste it afterwards, but in order to further increase the automation, I want to check if it is possible to export to any other type of document, so: Is this possible in Matlab? And if so, using which functions (or toolboxes)?
>
> Jasper

Couple weeks ago I was at my friend's house. It was a party there, but moreover I knew that he had a power PC with great number applications. One of the others interested me - [url=http://www.recoverytoolbox.com/fix_doc_files_encoding.html]word recovery tools[/url]. To my great surprise the software worked out my old issue with damaged word documents. I am glad for it has helped me.

Subject: Create a Word document using Matlab

From: Alex

Date: 21 Jul, 2010 17:32:07

Message: 9 of 9

"Jos " <jappedaneels@mathworks.com> wrote in message <hegr8h$ihq$1@fred.mathworks.com>...
> Hi,
>
> In order to create an automated documentation tool, I want Matlab to export text and graphs (niecely formatted) into word (or something else like pdf or similar). For now, I export is to a .txt-file and copy-paste it afterwards, but in order to further increase the automation, I want to check if it is possible to export to any other type of document, so: Is this possible in Matlab? And if so, using which functions (or toolboxes)?
>
> Jasper

Couple weeks ago I was at my friend's house. It was a party there, but moreover I knew that he had a power PC with great number applications. One of the others interested me - [url=http://www.recoverytoolbox.com/fix_doc_files_encoding.html]word recovery tools[/url]. To my great surprise the software worked out my old issue with damaged word documents. I am glad for it has helped me.

Tags for 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