Use "datastore" on a .cvs file without headers (or matlab identifiers)

7 views (last 30 days)
Hello
i am trying to use tall arrays on a datastore but my data does not have any headers.
Matlab is autoatically assuming the first row as headers and giving the following warning:
Warning: Variable names were modified to make them valid MATLAB identifiers.
how can is disable this action done by matlab and just use the data without headers ?
Thank you

Accepted Answer

Guillaume
Guillaume on 25 Sep 2019
Use the ReadVariableNames option:
ds = datastore(somelocation, 'ReadVariableNames', false)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!