필터 지우기
필터 지우기

Eliminate the var of the first line of .txt

조회 수: 1 (최근 30일)
han han
han han 2019년 9월 6일
댓글: han han 2019년 9월 6일
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

채택된 답변

madhan ravi
madhan ravi 2019년 9월 6일
writetable(A,'TEST.txt','Delimiter',' ','writevariablenames',false)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 String Parsing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by