How can I remove this File Handling error?

1 view (last 30 days)
I am getting this Invalid File Identifier error. What am I doing wrong here?
Error using fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in results (line 46)
fprintf(fileID,'\n\n' );

Accepted Answer

Mischa Kim
Mischa Kim on 29 Jun 2014
Edited: Mischa Kim on 29 Jun 2014
Febin, hard to say without any further information. You could use this approach too see if there are any error msg when opening the file. This will help you getting started with trouble-shooting.

More Answers (0)

Categories

Find more on Data Import and Export in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!