MATLAB: How to import data with column headings

column headingsdata importimporting excel datatable2arrayvariable name on top row in matrix

Hello all, attached is a sample of my data. I would like to import the data as a matrix, when I do so, I lose column headings. Importing data as a table will work (see attached), however, I don't want my data to be in table form. I want my data in a matrix with top row as column headings as it is in csv sheet. Any thought would be appreciated. I tried to convert the table into array (table2array) but I lose column heading again.

Best Answer

This works for me:
[~, ~, data] = xlsread('data.csv')
What happened when you tried it?