MATLAB error: Invalid file identifier. Use fopen to generate a valid file identifier.
1 次查看(过去 30 天)
显示 更早的评论
I ran the code to output a large matrix(59107200*10) to a csv file and got this error. The script: dlmwrite('fullbrain.csv',fullbrain); Any solutions and reason why this error? Or, are there any better solutions to output a large matrix to a csv file?
0 个评论
回答(1 个)
rough93
2019-9-30
You need to use the fopen command to create a valid file identifier, you can then write code to the file and fclose it after.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Cell Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!