Path: Common/Interface
% Read in tabular data in .csv file and convert it to a structure array.
Textual column headers are required to define structure field names.
Type ReadCSVTable for a file selection GUI. This will ignore spaces and
dashes in the variable names as well as trailing parentheses.
Example: 'Stage 3 ISP (sec)' becomes 'Stage3ISP'
--------------------------------------------------------------------------
Form:
d = ReadCSVTable( filename )
--------------------------------------------------------------------------
------
Inputs
------
filename (:) Name of .csv file with tabular data
-------
Outputs
-------
d (.) Data structure array. Each row is a struct element.
The structure field names are the column headers.
--------------------------------------------------------------------------
Common: CommonData/Parameters
Back to the Common Module page