MATLAB Answers

0

Paste Matlab Figure from Clipboard to Powerpoint

Asked by Tyler Murray on 15 Nov 2016
Latest activity Commented on by Tyler Murray on 25 Nov 2016
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)

  0 Comments

Sign in to comment.

1 Answer

Answer by Image Analyst
on 25 Nov 2016
 Accepted Answer

You might have to use ActiveX.

  1 Comment

Yup that's what I ended up doing, thanks

Sign in to comment.