I need to add a hash (#) at the first position of a text file which is created by writetable. Rename of VariableNames does not work.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I created a table with two columns and derived a tab-delimited txt-file. I Need to add a hash (#) at the very first Position of the txt-file. Thought about renaming the table.properties but doesn´t with #. Any tips?
0 commentaires
Réponse acceptée
Plus de réponses (1)
Fei Deng
le 17 Avr 2017
There is a similar question about adding lines to top of text files, take a look of the posted answers there. https://www.mathworks.com/matlabcentral/newsreader/view_thread/243389
"You can't put it before the original first character of the file, as that could result in overwriting the tail part of another file. You can't create new locations on the disk (at least not without deforming the disk and transforming a lot of energy into matter to create the new disk material.)"
0 commentaires
Voir également
Catégories
En savoir plus sur Variables dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!