You can get the column names of a table in MATLAB by using the table.Properties.VariableNames property. Here's an example:
main.m177 chars6 lines
This will give you an output like:
main.m71 chars6 lines
So in this case the column names are Var1, Var2 and Var3.
gistlibby LogSnag