Paste Matlab Figure from Clipboard to Powerpoint

2 次查看(过去 30 天)
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)

采纳的回答

Image Analyst
Image Analyst 2016-11-25
You might have to use ActiveX.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by