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

24 Ansichten (letzte 30 Tage)
T4H14
T4H14 am 16 Jul. 2018
Beantwortet: Paolo am 16 Jul. 2018
How can I specify the file path for csvwrite to write a file to?

Akzeptierte Antwort

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

Weitere Antworten (1)

Piotr Balik
Piotr Balik am 16 Jul. 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.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by