Eliminate the var of the first line of .txt

1 visualización (últimos 30 días)
han han
han han el 6 de Sept. de 2019
Comentada: han han el 6 de Sept. de 2019
This is my code,I don't want to have the first line in .txt(var_1....)
%---------------------
z = '//';
a1 = 'SystemMode';
a2 = 'SimulationTime';
A = table({a1,1,z;a2,100,z});
% Write data to text file
writetable(A,'TEST.txt','Delimiter',' ')
type 'TEST.txt'
How can I do

Respuesta aceptada

madhan ravi
madhan ravi el 6 de Sept. de 2019
writetable(A,'TEST.txt','Delimiter',' ','writevariablenames',false)

Más respuestas (0)

Categorías

Más información sobre String Parsing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by