PLS_Toolbox Documentation: xclreadr | < xclputdata | xlsreadr > |
xclreadr
Purpose
Reads ASCII flat files from MS Excel and other spreadsheets as a DataSet Object.
Synopsis
out = xclreadr(file,delim,options)
Description
XCLREADR reads tab, space, comma, semicolon or bar delimited files with names on the columns (variables) and rows (samples).
If XCLREADR is called with no input, or an empty matrix for file name file, a dialog box allows the user to select a file to read from the hard disk.
Optional input file is a text string with the file name to read.
Optional input delim can be used to specify delimiter character. Supported delimiters include:
The output out is a dataset object with date, time, info (data from cell (1,1)) the variable names (vars), sample names (samps), and data matrix (data).
Note that the primary difference between this function and the Mathworks function xlsread is the parsing of labels and output of a dataset object.
Options
See Also
areadr, dataset, spcreadr, xclgetdata, xclputdata, xlsreadr
< xclputdata | xlsreadr > |