How do I build a text file with readable variable names?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Milan Buncick
el 15 de Nov. de 2019
Comentada: Milan Buncick
el 15 de Nov. de 2019
I'm trying to use datastore to open text files and then work with data from specific columns. The function does not recognize the variable names I've added to each column. How do I configure the text file so that datastore reads the variable names?
0 comentarios
Respuesta aceptada
Philippe Lebel
el 15 de Nov. de 2019
I would try to set the 'PreserveVariableNames' flag to 'true' when uusing datastore.
something like:
datastore('very_file.csv','PreserveVariableNames',true)
Más respuestas (0)
Ver también
Categorías
Más información sobre Printing and Saving en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!