多数のファイルを同時に開き、ファイル読み込みを行うとエラーが発生するのはなぜでしょうか?
5 views (last 30 days)
Show older comments
MathWorks Support Team
on 17 Sep 2009
Edited: MathWorks Support Team
on 1 Mar 2019
FCLOSE 関数を実行せずにFOPEN 関数を繰り返し実行して多数のファイルを開き、ファイル読み込みを行うとエラーが発生します。
(エラーメッセージ)
Too many files open; check that FILES = 20 in your CONFIG.SYS file.
Accepted Answer
MathWorks Support Team
on 1 Mar 2019
このエラーメッセージは同時にオープンできるファイルの上限を越えたことを意味します。
MATLABには同時に開くことのできるファイル数の上限はなく、OSに依存します。
エラーを回避するには、FCLOSE 関数でファイルを閉じてから次のファイルを開いてください。
0 Comments
More Answers (0)
See Also
Categories
Find more on 低水準ファイル I/O in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!