Input file error in Matlab.
Mostrar comentarios más antiguos
I've been trying to run a program in Matlab for awhile now, but it requires an input file to run properly. Attempting to enter the name of the input file I want to use keeps returning this error message:
Error using fgets
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in truss2n>InputData (line 53)
DUMMY = fgets(LINP);
Error in truss2n (line 13)
InputData;
Does anyone know what I'm doing wrong? What Matlab window does my input file need to be displayed in, and what extension does it need to have? How do I make sure that the program can recognize the input file?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Low-Level File I/O en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!