MATLAB Function Reference    
xlsfinfo

Determine if file contains Microsoft Excel (.xls) spreadsheet

Syntax

Description

[A, Descr] = xlsfinfo('filename') returns the character array 'Microsoft Excel Spreadsheet' in A if filename is an Excel spreadsheet. Returns an empty string if filename is not an Excel spreadsheet. Descr is a cell array of strings containing the name of each spreadsheet in the file.

Examples

When filename is an Excel spreadsheet:

See Also

xlsread


  xlim, ylim, zlim xlsread