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')
Cite As
Tal Shir (2026). Paste a Matlab figure to Excel (https://ch.mathworks.com/matlabcentral/fileexchange/21158-paste-a-matlab-figure-to-excel), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Spreadsheets in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: saveppt
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |