I need to print name of an image or current browsed file in specific position in excel using matlab Here is the code of what I tried so far
Image2 = imread('D:\ahmed','jpeg');xlswrite('D:\aa.xls',image2,'Sheet1','A1');
OR ..
when i need to print name of browse image in GUI .. how can i print name of this upload image in excel sheet …
filename=handles.filename;[X2] = imread(filename);xlswrite('D:\aa.xls',[X2],'Sheet1','A1');
both codes don't write the name of image … its give me name of variable (image2 or X2 ) and do not write name of image ahmed or name of image in X2 which i browsed … any help please .
hope to get the following output :
excel sheet1 cell [A1] contain (( name of my image or browsed image name like wilyam or browsed image name ).
Best Answer