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

1 次查看(过去 30 天)
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Large Files and Big Data 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by