[MATLAB Report Generator] Table of figures

2 次查看(过去 30 天)
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);

采纳的回答

Chaitali Gondhalekar
编辑:Chaitali Gondhalekar 2015-8-18
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!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by