How to adjust Table row height in MATLAB Report Generator ?

4 views (last 30 days)
Kaustubh hike
Kaustubh hike on 28 Jul 2021
Commented: Rahul Singhal on 4 Aug 2021
Hi
在Repor如何调整表格行高吗t generation .
in below example , matlab gives error as "Undefined function or variable 'RowHeight'."
r1 = TableRow(); r1.Style = {RowHeight('.25in','atleast')};
I am using Matlab 2017b
Regards

Accepted Answer

Rahul Singhal
Rahul Singhal on 3 Aug 2021
Hi Kaustubh,
In MATLAB 2017b, I am able to successfully run this example to adjust the table row height using the RowHeight object.
If you still encounter any issue, try using Height instead as the documentation says: "If you do not need to specify an exact height, you can use either RowHeight or Height to specify the height".
- Rahul
3 Comments
Rahul Singhal
Rahul Singhal on 4 Aug 2021
Hi Kaustubh,
For PPT API, the ability to programmatically adjust row height was introduced in R2020a.
See mlreportgen.ppt.RowHeight for more information and the example.
-Rahul

Sign in to comment.

More Answers (0)

下载188bet金宝搏


Release

R2017b

Community Treasure Hunt

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

Start Hunting!