How do I align this table to the centre?
7 次查看(过去 30 天)
显示 更早的评论
This table was made with the report generator toolkit.
0 个评论
回答(1 个)
Rahul Singhal
2018-10-10
You can use the HAlign property of the Table.
2 个评论
Rahul Singhal
2018-10-11
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!