Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: creating tables for pdf output
Date: Wed, 15 Apr 2009 20:01:04 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 11
Message-ID: <gs5ee0$9pb$1@fred.mathworks.com>
References: <gs2vg9$5dh$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1239825664 10027 172.30.248.35 (15 Apr 2009 20:01:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 15 Apr 2009 20:01:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:533028


"M K" <none@none.com> wrote in message <gs2vg9$5dh$1@fred.mathworks.com>...
> Hello, 
> I've been working on creating a MATLAB GUI for a task that we routinely do here at work. Our old system involved some Excel spreadsheets and macros with the end result provided to the customer being several pages of plots and excel tables as one large multi-page pdf.  I have got the GUI making the plots perfectly(and much nicer looking than excel) and I am using print -ps -append to generate a multi-page ps file and then ps2pdf to create the pdf. My question is how can I create the additionally pages of data tables for inclusion in my customer's report? I can easily calculate the numbers I need however I don't know how I can I display them as a table to be printed with the print -ps -append command?
> 
> Thanks!

There are several different ways to print data tables in Matlab. the easiest is probably to use Matlab's built-in uitable function. You can also search the Matlab File Exchange for quite a few other options. I personally submitted several such functions, using Java or ActiveX for displaying the data, but there are many other solutions.

Yair Altman
http://UndocumentedMatlab.com