How do I align this table to the centre?
Show older comments

This table was made with the report generator toolkit.
Answers (1)
Rahul Singhal
on 10 Oct 2018
0 votes
You can use the HAlign property of the Table.
2 Comments
PromoCodeBSJ
on 11 Oct 2018
Rahul Singhal
on 11 Oct 2018
This was a known issue, where HAlign format was being applied to the table entries instead of the table in PDF output. This was fixed in R2016b, see EBR https://www.mathworks.com/support/bugreports/1411506 for the workaround.
After R2016b, you can use HAlign to center the table, and as mentioned in the documentation also set the Width property for wide tables.
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!