필터 지우기
필터 지우기

I can't bring powerpoint presention in matlab

조회 수: 2 (최근 30일)
Jiwan Kim
Jiwan Kim 2018년 11월 9일
편집: madhan ravi 2018년 11월 9일
Hello.
I need a help to solve a problem about bringing powerpoint presentaton.
The specific Error is out but I don't know what I should fix.
So I attached my script about it.
----------------------------------------------------------
h = actxserver('PowerPoint.Application');
% Show the PowerPoint window
h.Visible = 1;
writepath='C:\Users\yangchoonghee\Desktop\tcs';
clearppt='clear.pptx';
clearppt = fullfile(writepath,clearppt);
outfileppt = fullfile(writepath, outfileppt);
ppt = actxserver('PowerPoint.Application');
ppt.Visible = 1; % Keep Application Visible
ppt.WindowState = 2; % Minimize PowerPoint window to taskbar
% Open existing presentation:
Clear = invoke(ppt.Presentations,'Open',clearppt);
% Get current number of slides:
slide_count = get(Clear.Slides,'Count');
---------------------------------------------------
In the command window,it represents 'Slide is not defined function or variable' ( slide_count = get(Clear. Slides,'Count');)
I have the clear.ppt which has empty multiple slides.
I tried to figure out what is wrong, but couldn't find an explainable reason.
I am using Matlab version R2016a and R2017a.
Please if anyone knows what I need to do solve this problem, remarks about that.
Any help would be helpful and I will appreciate helping and comments.
Thanks
JW Kim

답변 (1개)

madhan ravi
madhan ravi 2018년 11월 9일
편집: madhan ravi 2018년 11월 9일

카테고리

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