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 (2024). XlsPutImage (https://www.mathworks.com/matlabcentral/fileexchange/69528-xlsputimage), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |