csv2table

csv2table(filename)

CSV2TABLE Load a CSV saved by table2csv, decoding values with type/precision preservation

Usage:

T = csv2table(filename)

Inputs:

filename : char - path to CSV file – required

Outputs:

T : table - decoded MATLAB table

Notes

  • Double and single precision restored

  • Numeric vectors/matrices auto-collapsed

  • Mixed-type columns remain as cells

  • Parallel decoding (parfor) for large tables

  • Single precision detected per column heuristically

See also: table2csv, value2str, readtable

∿∿∿ Prerau Laboratory MATLAB Codebase · sleepEEG.org ∿∿∿