MATLAB error: Invalid file identifier. Use fopen to generate a valid file identifier.

1 回表示 (過去 30 日間)
Bank Yin
Bank Yin 2014 年 7 月 14 日
回答済み: rough93 2019 年 9 月 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?

回答 (1 件)

rough93
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.

カテゴリ

Help Center および File ExchangeCell Arrays についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by