Convert xlsx to jpg
2 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I work on a project matlab for my company and i need help.
I want to know if it's possible on matlab to convert an xlsx file to image ?
if it's possibe, how can i do that.
Thank you!
0 个评论
回答(1 个)
Image Analyst
2020-6-26
Yes. Try readmatrix
myImage = readmatrix('my image.xlsx');
imshow(myImage);
If that doesn't work, try xlsread() or attach your workbook.
5 个评论
Image Analyst
2020-6-29
right after you call imshow(), call impixelinfo()
hp = impixelinfo;
If you want to reposition it, you can use
hp.Units = 'normalized';
hp.Position = [x, y, .2, .03]; % All values in the range 0-1.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!