MATLAB Answers


Error when to process many file

Asked by joo tan on 12 Jul 2012
I have many file to process..when i run my program, after 100 file,appear error like below...
??? C:\Program Files\MATLAB\R2010a\toolbox\matlab\codetools\opentoline.m: Too many files open; check that FILES = 20 in your CONFIG.SYS file.
how to solve?

  1 Comment

on 12 Jul 2012
do you really need to have 100 files opened in the same time ???

Sign in to comment.

1 Answer

Answer by Jan
on 12 Jul 2012

Most likely you forgot to close the files by fclose after the processing.


Sign in to comment.