Thread Subject: creating tables for pdf output

Subject: creating tables for pdf output

From: M K

Date: 14 Apr, 2009 21:34:01

Message: 1 of 2

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!

Subject: creating tables for pdf output

From: Yair Altman

Date: 15 Apr, 2009 20:01:04

Message: 2 of 2

"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
  

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