Getting Error in csvwrite
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Muhammad Hammad Malik
le 11 Jan 2019
Commenté : Muhammad Hammad Malik
le 14 Jan 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 commentaires
Réponse acceptée
Walter Roberson
le 12 Jan 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)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Convert Image Type dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!