Removing automatic variable names in array2table or writetable and adding some text to the header of output file
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mohammad R. Ghassemi
el 17 de Oct. de 2021
Comentada: Mohammad R. Ghassemi
el 17 de Oct. de 2021
Hi, I am trying to get a text output file using the following code:
Output=[DD,D];
T=array2table(Output);
writetable(T,'m.txt','Delimiter',' ')
I get the variable names Output1 and Output2 as headers in the output text file. I would like to remove both names and instead have a text like DR as the heading.
5 comentarios
Ver también
Categorías
Más información sobre Text Files 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!