Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How I can I display data with the dates

1 visualización (últimos 30 días)
Lebogang Mashile
Lebogang Mashile el 26 de Jul. de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I am a learner in Matlab, I am trying to display data that is in a directory, but I am getting this error" Error using textscan", Invalid file identifier, Use fopen to generate a valid file identifier.

Respuestas (1)

Davide Ferraro
Davide Ferraro el 26 de Jul. de 2012
TEXTSCAN requires that you use the command FOPEN:
href = ""<http://www.mathworks.com/help/releases/R2012a/techdoc/ref/fopen.html</a>>
to generate a file identifier for the file to be read. FOPEN syntax is very simple, you can use a single input with the filename (if the file is in current folder or path) or the full path.
If the output is "-1" there may be an error in finding the file, have a look at the path.

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by