필터 지우기
필터 지우기

How to write images to excel speadsheet from matlab?

조회 수: 10 (최근 30일)
Mini
Mini 2012년 12월 29일
Hi there
I was wondering if there's a way to insert rows and columns of images in a excel spreadsheet using matlab. Please help me out. Thank you!
Cheers!

답변 (1개)

Image Analyst
Image Analyst 2012년 12월 29일
There is no way to export an image from MATLAB to Excel, unless you do some very complicated ActiveX stuff. I put thumbnail images into Excel but I wrote a Visual Basic program to do it. My MATLAB function passes the workbook filename and the image filename to the VB program. The VB program then launches Excel and reads in the workbook, reads in the image file and creates a thumbnail of it, and then finally exports the thumbnail image onto the worksheet. You see an actual image displayed in Excel.
If you want to put just THE VALUES of the image into a workbook, then you can use xlswrite. You won't get an image in the workbook but you will get pixel values (integers or some other type of number) in the Excel cells.

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by