Error in csvwrite for a specific filename
古いコメントを表示
Hi
I want to write a vector present in my workspace to a csv file. I'm adding a timestamp to the csv filename and for this I'm using
fileName = sprintf('sampleData%s.csv', datestr(now));
csvwrite(fileName,workspacevariable);
Wheneven I'm using the timestamp in the filename it's giving an error, without using a timestamp it works fine. Can anyone please help me in this ?
The file name contains characters that are not contained in the filesystem encoding.
Certain operations may not work as expected.
Thanks,
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Files and Folders についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!