How can I specify the file path for csvwrite to write a file to?

25 visualizaciones (últimos 30 días)
T4H14
T4H14 el 16 de Jul. de 2018
Respondida: Paolo el 16 de Jul. de 2018
How can I specify the file path for csvwrite to write a file to?

Respuesta aceptada

Paolo
Paolo el 16 de Jul. de 2018
csvwrite('C:\Users\T4H14\Documents\myfile.csv',mydata)

Más respuestas (1)

Piotr Balik
Piotr Balik el 16 de Jul. de 2018
You can always use hard way and do:
>> cd C:/'Program Files'/...
>> csvwrite('file.dat',M);
Because csvwrite documentation does not provide data path parameter.

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by