I use something like:
fpCSV = fopen(NameOfFile, 'rt'); fgets(fpCSV); lineStr = fgets(fpCSV); fclose(fpCSV);
in my *.m file. It is actually buried in the method of a class that I wrote.
In interactive mode in Matlab, the script works great. I ran the Application Builder Tool and successfully compiled. However, when I run my application I get "Invalid file identifier" (see attached screenshot). How do I debug this?
Best Answer