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. -------------------------------------------------------------------------- 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. --------------------------------------------------------------------------
Back to the Common Module page