Export uitable data to CSV file

조회 수: 6 (최근 30일)
hsi
hsi 2014년 1월 9일
답변: Sean de Wolski 2014년 1월 9일
Hi,
I am looking for a simple way to save the uitable data includes its column headers to a CSV file. The uitable is mixed text and numbers. Any idea How?
Thanks.

답변 (1개)

Sean de Wolski
Sean de Wolski 2014년 1월 9일
  • Get the data from the table using get().
  • If you're using R2013b, you can turn the data into a table and then use writetable to do this automatically and easily.
  • If you're using an older release, write it using fprintf.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by