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

26 visualizzazioni (ultimi 30 giorni)
How can I specify the file path for csvwrite to write a file to?

Risposta accettata

Paolo
Paolo il 16 Lug 2018
csvwrite('C:\Users\T4H14\Documents\myfile.csv',mydata)

Più risposte (1)

Piotr Balik
Piotr Balik il 16 Lug 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.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by