How to import many csv files in matlab and export one excel file?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
many cvs files 9, 10(or J, K) matrix read in matlab ->many variable calculate -> input one excel file
1 comentario
源樹 上林
el 14 de Sept. de 2021
How about this way ?
a = xlsread('hogehoge.csv');
b = xlsread('fugafuga.csv');
filename = 'piyopiyo.xlsx';
xlswrite(filename, a, 'sheet1');
xlswrite(filename, b, 'sheet2');
Respuestas (1)
Prince Kumar
el 24 de Nov. de 2021
Hi,
t1 = readtable('data1.csv');
t2 = readtable('data2.csv');
writetable(t1,'myData.xls','Sheet',1);
writetable(t2,'myData.xls','Sheet',2);
Here, content of 'data1.csv' and 'data2.csv' is being writtent to sheet 1 and 2 of the excel sheet respectively.
0 comentarios
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!