wk1finfo - Determine whether file contains 1-2-3 WK1 worksheet

Syntax

[extens, typ] = wk1finfo(filename)

Description

[extens, typ] = wk1finfo(filename) returns the string 'WK1' in extens, and ' 1-2-3 Spreadsheet' in typ if the file filename contains a readable worksheet. The filename input is a string enclosed in single quotes.

Examples

This example returns information on spreadsheet file matA.wk1:

[extens, typ] = wk1finfo('matA.wk1')

extens =
   WK1
typ =
    123 Spreadsheet

See Also

wk1read, wk1write, csvread, csvwrite

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS