您可以通过ActiveX驱动PowerPoint
h = actxserver('PowerPoint.Application');
h.Visible = 1; % make the window show up
h.Presentations.Open('C:\Temp\MyPresentation.pptx');
%%
h.ActivePresentation.SlideShowSettings.Run; % there is now a slide show running
%%
hShow = h.SlideShowWindows.Item(1);
%%
hShow.View.GotoSlide(3); % go to the 3rd slide
hShow.View.Next; % go to next slide
%%
hShow.View.Exit; % end slide show
%%
h.ActivePresentation.Close; % close the presentation
%%
h.Quit;
delete(h);
您应该查看actxserver和MSDN Power Point developer Reference的MATLAB文档.ActiveX对象的大多数方法和属性都在MATLAB中显示为方法和属性.您可以使用方法(h)和get(h)来检查它们.唯一棘手的是收藏品.您通常需要说出类似hCollection.Item(N)的内容来从集合中获取第N个项目.