status = xlsfinfo(filename)
[status, sheets, format] = xlsfinfo(filename)
| Parameter | Description |
|---|---|
| filename | a string: .xlsx file name. |
| Parameter | Description |
|---|---|
| status | format status string, or an empty string if the file cannot be read. |
| sheets | cell array of sheet names. |
| format | format string. |
xlsfinfo returns workbook metadata for .xlsx files supported by the Open XML backend.
filename = [tempdir(), 'xlsfinfo_example.xlsx']; xlswrite(filename, [1 2], 'Run1', 'A1'); [status, sheets, format] = xlsfinfo(filename)
| Version | Description |
|---|---|
| 2.0.0 | initial version |