How to adjust Table row height in MATLAB Report Generator ?

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일

0 개 추천

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

Hi Rahul,
Could you please provide the example for ppt creation?
Above is for .doc.
Thanks in advance .
Hi Rahul,
I tried both ways , still it gives error. Please find the attached screenshots.
Regards
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개)

카테고리

도움말 센터File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

제품

릴리스

R2017b

질문:

2021년 7월 28일

댓글:

2021년 8월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by