Exporting table into a .dat file

I am trying to take my table that I imported from a .dat file, title the columns, and trying to turn it back into a .dat file. The code below labels them but what function could help so I can export this table?
x = table(int11) %int11 is the file that is imported
int11.Properties.VariableNames{1} = 'Time'
int11.Properties.VariableNames{2} = 'Donor'

Answers (1)

Star Strider
Star Strider on 25 Jul 2019
My first thought would be to use the writetable function.

Tags

Asked:

on 25 Jul 2019

Answered:

on 25 Jul 2019

Community Treasure Hunt

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

Start Hunting!