How can I write a table to .csv file

 Respuesta aceptada

EmirBeg
EmirBeg el 21 de Mayo de 2021
writetable(x,'table.csv'); % x is the name of your table, the csv will be saved where your code is saved

Más respuestas (1)

Mathieu NOE
Mathieu NOE el 21 de Mayo de 2021
hello
for numerical data you can use writematrix - see example below
writematrix(rand(100,5),"file.csv","Delimiter",",")

Categorías

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 21 de Mayo de 2021

Respondida:

el 21 de Mayo de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by