Borrar filtros
Borrar filtros

I can't bring powerpoint presention in matlab

2 visualizaciones (últimos 30 días)
Jiwan Kim
Jiwan Kim el 9 de Nov. de 2018
Editada: madhan ravi el 9 de Nov. de 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

Respuestas (1)

madhan ravi
madhan ravi el 9 de Nov. de 2018
Editada: madhan ravi el 9 de Nov. de 2018

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by