フィルターのクリア

Invalid file identifier.Use fopen to generate a valid file identifier

2 ビュー (過去 30 日間)
Jonasz
Jonasz 2013 年 8 月 5 日
I am getting this error :
Invalid file identifier.Use fopen to generate a valid file identifier
Once it goes through my data without any and others this error occur. I add that i have 11 thousand files to open and then to write it in other directory. It occurs sometimes at the end sometimes and the beginning and sometimes it goes without error. Any ideas what my happend? I don't paste the code because in my opinion it's something different because it works but not all the time.
The error is saving : too many open files.
Why is it , because I am having only one file open . I close it everytime at the end of the loop.
  1 件のコメント
Cedric
Cedric 2013 年 8 月 5 日
Well, I think that the code would help actually.
Otherwise, check that you are closing files in all cases (sometimes people return from a function or break out a loop and forget to close open files). If you are generating file names, check that you are not using invalid characters, and when you open files, check that the fid returned by FOPEN is valid.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by