MATLAB error: Invalid file identifier. Use fopen to generate a valid file identifier.
조회 수: 3 (최근 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에서 Low-Level File I/O에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!