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.

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by