Use the add method of an mlreportgen.ppt.Presentation object to add a slide to a presentation. Then, use the add method of the resulting mlreportgen.ppt.Slide object to add a picture to the slide.
Import the PPT package so that you do not have to use long, fully qualified names for the PPT API classes.
import mlreportgen.ppt.*
Create a presentation and add a slide to it. This example adds a slide with a Blank layout.
Create an mlreportgen.ppt.Picture object for the picture that you want to add to the slide. Use the Picture object properties to specify the size of the picture in the slide.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.