Hi, I have excel files that appear as .xls in Windows but upon opening in Excel, the program opens a pop-up saying:
"The file format and extension of 'FILE' don't match. The file could be corrupted or unsafe. Unless you trust its source, dont open it. Do you want to open it anyway?".
I click 'yes' and then a banner appears at the top saying:
"Possible data loss: Some features might be lost if you save this workbook in the text (.txt) format. To preserve these features, save it in an Excel file format",
giving me the options to not show again or save as a different file type.
I have tried all the file-opening commands I am familiar with such as importdata, readcell, readmatrix, textscan, etc.
Error using readcell (line 152)
Unable to find or open '**EXAMPLEPATH**\**EXAMPLENAME**.xls'. Check the path and filename or file permissions.
Error using readcell (line 152)
Unable to open file '**EXAMPLEPATH**\**EXAMPLENAME**.xls' as a workbook. Check that the file exists, read access is available, and the
file is a valid spreadsheet file.
Error using xlsread (line 257)
File '**EXAMPLEPATH**\**EXAMPLENAME**.xls' not in Microsoft Excel Format.
Error using importdata (line 139)
Error using readtable (line 498)
Unable to open file '**EXAMPLEPATH**\**EXAMPLENAME**.xls' as a workbook. Check that the file exists, read access is
available, and the file is a valid spreadsheet file.
How can I import this file into Matlab?
EDIT: Removed filepaths/filenames