MATLAB: Naming xls files corresponding to image in MATLAB

naming xls files

I have number of images in a folder. I have read these images, I am generating sift features and descriptors of these images and writing these in xls files. the only problem here is that i want to name the respective xls file as the name of corresponding image

Best Answer

  • Let's say your image name has a ".png" in the name, then do
    excelFileName = strrep(imageFileName, '.png', 'xlsx');