[MATLAB Report Generator] Table of figures

2 views (last 30 days)
Hi all,
Using MATLAB Report Generator with MATLAB R2014a (v 8.3) I wish to create a pdf containing numerous (pre-generated) figures and some text. I've tried to implement a table of figures but with only poor success. My idea was to create a table and add images as table entries. The pdf report is generated, but the table is simply not part of it. Any clue to what I am missing?
Thanks,
Florian
% Create rptgen.cfr_ext_table_row
rptgen_cfr_ext_table_row1 = rptgen.cfr_ext_table_row;
setParent(rptgen_cfr_ext_table_row1,rptgen_cfr_ext_table_head1);
% Create rptgen.cfr_ext_table_entry
rptgen_cfr_ext_table_entry1 = rptgen.cfr_ext_table_entry;
setParent(rptgen_cfr_ext_table_entry1,rptgen_cfr_ext_table_row1);
% Create rptgen.cfr_image
rptgen_cfr_image1 = rptgen.cfr_image(...);
setParent(rptgen_cfr_image1,rptgen_cfr_ext_table_entry1);

Accepted Answer

Chaitali Gondhalekar
Chaitali Gondhalekar on 18 Aug 2015
Edited: Chaitali Gondhalekar on 18 Aug 2015
I understand that you wish to generate a report that contains multiple figures in a table format.
In MATLAB, you can generate a report in two ways - interactively or programmatically.
Attached folder contains a script "reportGenImg" that creates a PDF file with a 2-by-3 table that has images and text as entries. To create multiple table entries, you can include a "for" loop in your code.
You can refer to the following link for more information about how to programmatically generate report:
Hope this helps!

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!