xlsputimage lets you place an image file inside any excel chart.
You can control the sheet, the location and the extent of the image.
If the sheet does not exist in the file - a new sheet is created.
The default is Sheet1, at C9 for the top-left corner.
In order to send a Matlab plot directly to Excel, it needs to be saved first to a temporary file (SAVEAS command is recommended).
Although designed in R2017b, this code should work properly in most of the previous versions.
Cite As
Noam Greenboim (2026). XlsPutImage (https://www.mathworks.com/matlabcentral/fileexchange/69528-xlsputimage), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Spreadsheets in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
