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

21 ビュー (過去 30 日間)
T4H14
T4H14 2018 年 7 月 16 日
回答済み: Paolo 2018 年 7 月 16 日
How can I specify the file path for csvwrite to write a file to?

採用された回答

Paolo
Paolo 2018 年 7 月 16 日
csvwrite('C:\Users\T4H14\Documents\myfile.csv',mydata)

その他の回答 (1 件)

Piotr Balik
Piotr Balik 2018 年 7 月 16 日
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.

カテゴリ

Help Center および File ExchangeData Import and Analysis についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by