Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How I can I display data with the dates

조회 수: 1 (최근 30일)
Lebogang Mashile
Lebogang Mashile 2012년 7월 26일
마감: MATLAB Answer Bot 2021년 8월 20일
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.

답변 (1개)

Davide Ferraro
Davide Ferraro 2012년 7월 26일
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.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by