Getting Error in csvwrite
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Muhammad Hammad Malik
il 11 Gen 2019
Commentato: Muhammad Hammad Malik
il 14 Gen 2019
Hello all,
my problem is i am getting error when i wants to write some files in csv format. i am getting error in this line csvwrite(sprintf('Object%d.csv',i), y).dont know why i am getting this error. yesterday it was working well, but when i tried to work it again today, then it starts giving error. kindly guide me.thanks
due to this line 3 kind of errors are generating like:Error using dlmwrite (line 124)
Cannot open file Object1.csv.
Error in csvwrite (line 42)
dlmwrite(filename, m, ',', r, c);
Error in newwwwwwwwwwww (line 62)
csvwrite(sprintf('Object%d.csv',i), y)
0 Commenti
Risposta accettata
Walter Roberson
il 12 Gen 2019
csvwrite(sprintf('F:\\kinectdata\\TomatoExtraction\\object%d.csv',i), y)
Or
csvwrite(sprintf('F:/kinectdata/TomatoExtraction/object%d.csv',i), y)
or
projectdir = 'F:\kinectdata\TomatoExtraction';
csvwrite( fullfile(projectd, sprintf('object%d.csv', i)), y)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Convert Image Type in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!