Writing table variables with quotations marks ("Placeholder variable name")
Afficher commentaires plus anciens
Hi.
When loading, manipulating and subsequently writing a table (readtable, writetable) my column/variable names are saved to .csv files with no quotation marks surround them.
E.g.:
Reading variable names like: ["id","frame","x","y","sigma","intensity"]
and subsequently saving them as: [id,frame,x,y,sigma,intensity]
This causes issue with my further use of the tables. I could manually edit, but would prefer to be able to bulk process.
Cheers.
Réponses (1)
'QuoteStrings',true
Otherwise it is likely not difficult to write your own file using fprintf.
1 commentaire
Aske Ejdrup
le 15 Août 2019
Modifié(e) : Aske Ejdrup
le 15 Août 2019
Catégories
En savoir plus sur Tables dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!