Paste Matlab Figure from Clipboard to Powerpoint

2 views (last 30 days)
I've been looking online for a while now and can't find what I think should be an easy solution to pasting from the clipboard to a powerpoint slide.
slides = Presentation('myPresentation');
titleSlide = add(slides,'Title Slide');
contents = find(slides,'Title');
replace(contents(1),'Test Title');
slide1 = add(slides,'Blank');
figure(1)
plot(x,y)
print('-dmeta')
%somehow paste to slide 1%
close(slides)
I want to copy and paste figure1 to slide 1. I have looked at what I feel like is all the forums on here but none explain how to paste from the clipboard. Please let me know if you know how to do this. (I do not want to use a fileExchange and I do not want to save each figure and then import it)

Accepted Answer

Image Analyst
Image Analyst on 25 Nov 2016
You might have to use ActiveX.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!