Export uitable data to CSV file

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 日

0 投票

  • 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.

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

質問済み:

hsi
2014 年 1 月 9 日

回答済み:

2014 年 1 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by