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:
Thread Subject: Writing into a Word Document using ActiveX control

Subject: Thread Subject: Writing into a Word Document using ActiveX control

From: Cai Cheng

Date: 15 Jun, 2010 11:04:05

Message: 1 of 2

Hello,
In order to create report automatically,I want Matlab to export text and graphs (niecely formatted) into word (or something else like pdf or similar). I only know how to plot figures into word, I do not know how to format and how to write data/ or strings into word. Is there any matlab command can do that? I heard about the report generator. Is that useful, I cannot find it in my company's MATLAB. Is that means I need to buy this software?

Thanks

Subject: Thread Subject: Writing into a Word Document using ActiveX control

From: Yair Altman

Date: 15 Jun, 2010 17:53:19

Message: 2 of 2

"Cai Cheng" <cheng19861212@hotmail.com> wrote in message <hv7mn5$jcd$1@fred.mathworks.com>...
> Hello,
> In order to create report automatically,I want Matlab to export text and graphs (niecely formatted) into word (or something else like pdf or similar). I only know how to plot figures into word, I do not know how to format and how to write data/ or strings into word. Is there any matlab command can do that? I heard about the report generator. Is that useful, I cannot find it in my company's MATLAB. Is that means I need to buy this software?
>
> Thanks

You can use the OfficeDoc utility to write/read/format Microsoft Office (Word/Excel/Powerpoint) documents from Matlab - http://www.mathworks.com/matlabcentral/fileexchange/15192-officedoc

Yair Altman
http://UndocumentedMatlab.com

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