Export uitable data to CSV file

6 visualizzazioni (ultimi 30 giorni)
hsi
hsi il 9 Gen 2014
Risposto: Sean de Wolski il 9 Gen 2014
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.

Risposte (1)

Sean de Wolski
Sean de Wolski il 9 Gen 2014
  • 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.

Categorie

Scopri di più su Programming in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by