Azzera filtri
Azzera filtri

I can't bring powerpoint presention in matlab

2 visualizzazioni (ultimi 30 giorni)
Jiwan Kim
Jiwan Kim il 9 Nov 2018
Modificato: madhan ravi il 9 Nov 2018
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

Risposte (1)

madhan ravi
madhan ravi il 9 Nov 2018
Modificato: madhan ravi il 9 Nov 2018

Categorie

Scopri di più su MATLAB Report Generator in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by