Thread Subject: How can I export the display contant via command?

Subject: How can I export the display contant via command?

From: Q Zhang

Date: 4 Nov, 2009 23:02:04

Message: 1 of 7

Dear all,

I am wondering to export my "display" result directly to some files such as excell or word, do you know how to do it by programming instead of copy and past?

Many thanks in advance,

Qunzi

Subject: How can I export the display contant via command?

From: dpb

Date: 5 Nov, 2009 14:21:31

Message: 2 of 7

Q Zhang wrote:
> Dear all,
>
> I am wondering to export my "display" result directly to some files
> such as excell or word, do you know how to do it by programming
> instead of copy and past?
...

help iofun

may provide some useful starting points...

--

Subject: How can I export the display contant via command?

From: Rohit

Date: 5 Nov, 2009 18:43:04

Message: 3 of 7

dpb <none@non.net> wrote in message <hcunav$lh0$2@news.eternal-september.org>...
> Q Zhang wrote:
> > Dear all,
> >
> > I am wondering to export my "display" result directly to some files
> > such as excell or word, do you know how to do it by programming
> > instead of copy and past?
> ...
>
>

You may as well look out for fprintf function. It helps youvto print data to the file.

Rohit

Subject: How can I export the display contant via command?

From: dpb

Date: 5 Nov, 2009 18:44:51

Message: 4 of 7

Rohit wrote:
> dpb <none@non.net> wrote in message <hcunav$lh0$2@news.eternal-september.org>...
>> Q Zhang wrote:
>>> Dear all,
>>>
>>> I am wondering to export my "display" result directly to some files
>>> such as excell or word, do you know how to do it by programming
>>> instead of copy and past?
>> ...
...
> You may as well look out for fprintf function. It helps you to
> print data to the file. >
> Rohit

Well, yes, although it won't help much w/ Excel and/or Word (at least
directly) which is why I suggested to look at the list of io functions
to see what specialized functions might suit whatever it is that OP
actually has in mind (which we weren't enlightened on much, if at all)...

--

Subject: How can I export the display contant via command?

From: Yair Altman

Date: 5 Nov, 2009 21:12:04

Message: 5 of 7

"Q Zhang" <silence_qunzi@hotmail.com> wrote in message <hct15b$15f$1@fred.mathworks.com>...
> Dear all,
>
> I am wondering to export my "display" result directly to some files such as excell or word, do you know how to do it by programming instead of copy and past?
>
> Many thanks in advance,
>
> Qunzi

You can use the OfficeDoc utility on the Matlab FileExchange to programmatically export Matlab data and figures to Excel, Word and PowerPoint files: http://www.mathworks.com/matlabcentral/fileexchange/15192-officedoc-readwriteformat-ms-office-docs-xlsdocppt

Yair Altman
http://ymasoftware.com
http://UndocumentedMatlab.com

Subject: How can I export the display contant via command?

From: Q Zhang

Date: 8 Nov, 2009 16:32:02

Message: 6 of 7

dpb <none@non.net> wrote in message <hcunav$lh0$2@news.eternal-september.org>...
> Q Zhang wrote:
> > Dear all,
> >
> > I am wondering to export my "display" result directly to some files
> > such as excell or word, do you know how to do it by programming
> > instead of copy and past?
> ...
>
> help iofun
>
> may provide some useful starting points...
>
> --

Many thx:)

Subject: How can I export the display contant via command?

From: Matt

Date: 8 Nov, 2009 17:10:18

Message: 7 of 7

"Q Zhang" <silence_qunzi@hotmail.com> wrote in message <hct15b$15f$1@fred.mathworks.com>...
> Dear all,
>
> I am wondering to export my "display" result directly to some files such as excell or word, do you know how to do it by programming instead of copy and past?
>
> Many thanks in advance,

There's also the diary() command for simple text output.

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com