How to add Picture and Table on the same slide in ppt MATLAB report generation?
30 views (last 30 days)
Vignesh Murugavel on 28 Jul 2021
You can create a custom slide with picture and table in same slide.
Refer the below Link to know more about how to create a custom template
You can add a slide using the PPT API. You can find out the slide layout name in PowerPoint and using the API.
Refer Link for more info:
More Answers (1)
Rahul Singhal on 3 Aug 2021
You can use the "Two Content" layout to add a picture and table to the same slide.
Below is an example:
% Create a presentation
ppt = Presentation("myPresentation.pptx");
% Add a slide using the "Two Content" layout
slide = add(ppt,"Two Content");
replace(slide,"Title","Slide with Picture and Table")
% Add a picture on the left side of the slide
% Add a table on the right side of the slide
% Close and view the presentation
If you wish to customize the placeholders location or add more placeholders to it, you can setup a custom template to add a customized layout by following the link: https://www.mathworks.com/help/rptgen/ug/set-up-the-powerpoint-template.html.