xlsfinfo not working but xlsread and xlswrite are working

2 views (last 30 days)
Hello, xlsfinfo is not working. Looks like this is a persistent issue. I searched on Google and many users have the same problem. But I did not see a solution. The description field returned from xlsfinfo is empty. Here is my session. I have also attached the 2 files referred to below. Please help.
>> [a,descr,fmt]=xlsfinfo('trial.xlsm')
a =
Microsoft Excel Spreadsheet
descr =
Empty cell array: 1-by-0
fmt =
xlOpenXMLWorkbookMacroEnabled
>> [a,descr,fmt]=xlsfinfo('trial.xls')
a =
Microsoft Excel Spreadsheet
descr =
Empty cell array: 1-by-0
fmt =
xlExcel8
  7 Comments
Jan
Jan on 18 Mar 2018
Edited: Jan on 18 Mar 2018
@Aniruddh Murali: "Showed this error"? Which error?
The documentation of xlsfinfo explains:
If filename is not a file that xlsread can read, then status is empty, ''
Can you open the file with Excel on your computer?

Sign in to comment.

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!