MATLAB: Please help me for error in runing.( please)

program run

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 ==> SALD at 199
C:\ProgramFiles\MATLAB\R2009a\toolbox\matlab\codetools\opentoline.m: Too
many files open; check that FILES = 20 in your CONFIG.SYS file.
how to solve???????? please help

Best Answer

Probably you have omitted fclose() of each file you have fopen()'d.
Related Question