Convert table sequence to csv
Show older comments
Hi every one,
I want to convert table sequence to csv file.
I use to write: load('matlab.mat');
and after : csvwrite('matlab.csv', seqTable);
And I have this error:
Check for incorrect argument data type or missing argument in call to function 'real'.
Error in csvwrite (line 47)
throw(e)

How I can do to convert it in csv file?
Many thanks for your help :)
christophe
4 Comments
Dyuman Joshi
on 14 Sep 2021
Try this
FileData = load('FileName.mat');
csvwrite('FileName.csv', FileData.M);
christophe blain
on 15 Sep 2021
Murugan C
on 15 Sep 2021
try this
csvwrite('FileName.csv', seqTable.sensor1);
Dyuman Joshi
on 15 Sep 2021
seqTable = load('matlab.mat');
csvwrite('test.csv', seqTable.M);
Answers (1)
Cris LaPierre
on 15 Sep 2021
seqTable = load('matlab.mat');
writetable(seqTable,'test.csv');
1 Comment
christophe blain
on 16 Sep 2021
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!