File Exchange

image thumbnail

Paste a Matlab figure to Excel

version 1.0 (1.46 KB) by

Paste a Matlab figure to Excel

13 Downloads

Updated

View License

This Function takes the current Matlab figure (gcf) and paste it into an existing Excel File.
Example:
plot(1:10)
xlsPasteTo('Book2','Sheet1',300, 400,'D6')

Comments and Ratings (5)

Anne

Anne (view profile)

This function is great, but how can i replace old figures?
I tried:
ExActRange = get(ExAct,'Range',range);
ExActRange.Select;
ExActRange.Value = [];

But it doesn´t work.
Can somebody help me?

Gilbert Mora

Thanks. Works for me.

sun naran

It helped me to think about ways to solve another problem. I am trying to paste a curve file (jpg file) on to another jpg file containing solar radio burst but without success. please let me know if there is any such straight forward m-code to accomplish the task.

MATLAB Release
MATLAB 7.6 (R2008a)
Acknowledgements

Inspired by: saveppt

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video