I have a MATLAB script that I could have sworn worked fine the last time I used it (a year ago). Now, I get this error:
Invalid file identifier. Use fopen
I had the file opened in excel and as a result fopen returned a -1. Took me forever to find such a trivial problem.