MATLAB error: Invalid file identifier. Use fopen to generate a valid file identifier.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
rough93
el 30 de Sept. de 2019
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 comentarios
Ver también
Categorías
Más información sobre Cell Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!