MATLAB Answers

Changing the Font size of text in Table in Matlab Report Generator

33 views (last 30 days)
Wilson Bardeskar
Wilson Bardeskar on 19 Apr 2011
Answered: Shantanu Dwivedi on 2 Nov 2020
How can I change the font size for contents of a table component in matlab report generator. I am generating word reports My requirement is that fontsize for paragraph should be 'Ariel' 10 and the Text in a Table should be 'Times New Roman', 7. I have tried different combinations of components in stylesheet but whenever I change the font size, both paragraph and table text font size change together. Please help. I am using Matlab 7.1

Answers (1)

Shantanu Dwivedi
Shantanu Dwivedi on 2 Nov 2020
You can generate custom reports with MATLAB Report Generator using DOM API. With the DOM API you can generate a tailor-made report for any kind of application in Microsoft Word, PowerPoint, PDF, or HTML.
You can use it to customize your table style as well.
Here is an article which illustrates the steps for creating a custom template using DOM API -

Community Treasure Hunt

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

Start Hunting!