Can we save the table as delimited txt in a proper manner?
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
I am using the following command. 
writetable(T,'myData.txt','Delimiter',' ') 
However, the table doesn't get stored as nicely as it appears in the MATLAB workspace. I also used '/t' as one of the delimiters, still, the outcome is the same. 
The columns look squeezed in compared to the table headers. Importantly. my headers are big as well (~20 characters). Is there no way out that I can save the table as it is in the .txt form? Can I use file()?
댓글 수: 1
  Adam Danz
    
      
 2020년 11월 16일
				The file created by writetable is computer-readable and does not necessarily produce a format that's easy on human eyes.  If you write the table to an excel file it will be easier to view.
답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!