필터 지우기
필터 지우기

How do I change the orientation of a PowerPoint slide in MATLAB?

조회 수: 2 (최근 30일)
Eric Kline
Eric Kline 2015년 11월 17일
답변: AlexP 2016년 11월 7일
I inherited a tool that copies MATLAB figures into a PowerPoint presentation. The default orientation of the slides is landscape and I'd like to have the option of specifying portrait orientation.

답변 (1개)

AlexP
AlexP 2016년 11월 7일
If you are using power point from MATLAB as a COM object then slide orientation can be set using the below command. However, please note, slide orientation property is applicable to all the slides in the presentation. There is no way to force it on to a particular slide.
>> h = actxserver('PowerPoint.Application') >> h.Visible = 1; >> h.Presentation.invoke >> Presentation = h.Presentation.Add >> Presentation.PageSetup.SlideOrientation = 'msoOrientationVertical'  #changes the orientation of all the slides in the presentation to portrait

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by