フィルターのクリア

How to adjust Table row height in MATLAB Report Generator ?

5 ビュー (過去 30 日間)
Kaustubh hike
Kaustubh hike 2021 年 7 月 28 日
コメント済み: Rahul Singhal 2021 年 8 月 4 日
Hi
How to Adjust Table row height in Report 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

採用された回答

Rahul Singhal
Rahul Singhal 2021 年 8 月 3 日
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 件のコメント
Kaustubh hike
Kaustubh hike 2021 年 8 月 4 日
Hi Rahul,
I tried both ways , still it gives error. Please find the attached screenshots.
Regards
Rahul Singhal
Rahul Singhal 2021 年 8 月 4 日
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

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by