Code covered by the BSD License  

Highlights from
Paste a Matlab figure to Excel

4.0

4.0 | 2 ratings Rate this file 37 Downloads (last 30 days) File Size: 1.46 KB File ID: #21158
image thumbnail

Paste a Matlab figure to Excel

by

 

21 Aug 2008 (Updated )

Paste a Matlab figure to Excel

| Watch this File

File Information
Description

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')

Acknowledgements

Saveppt inspired this file.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
22 May 2013 Anne

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?

02 May 2012 Gilbert Mora  
25 Oct 2011 Matthijs Klomp  
18 Dec 2008 Richard Silver

Thanks. Works for me.

27 Aug 2008 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.

Contact us