Import the PPT API namespace
R2026bAll
MATLAB® API for PowerPoint® (PPT API) class names and constructor names have the prefix
mlreportgen.ppt. To omit the prefix in your code, insert this
statement at the beginning of a PPT API program.
import mlreportgen.ppt.*;Examples that refer to PPT API objects and functions without the
mlreportgen.ppt prefix assume that you have imported the PPT API
namespace.