Error when try to process many file

조회 수: 2 (최근 30일)
joo tan
joo tan 2011년 12월 13일
i try process many file but at the middle, error like below:
Error using ==> fprintf Invalid file identifier. Use fopen to generate a valid file identifier.
Error in ==> Final at 19
??? C:\Program Files\MATLAB\R2010a\toolbox\matlab\codetools\opentoline.m: Too many files open; check that FILES = 20 in your CONFIG.SYS file.
what meants and how to solve?? need help

답변 (1개)

Walter Roberson
Walter Roberson 2011년 12월 13일
Usually it means that you have forgotten to fclose() your files.
There have been reports at various times of running in to this problem when using some of the utility routines along the lines of xlswrite(), routines that should be closing files but sometimes do not.
I do not recall hearing of this problem with regards to codetools, but I have not read much about that product.
  댓글 수: 1
Jan
Jan 2011년 12월 13일
To get a list of open file: fopen('all')

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by