Info
此问题已关闭。 请重新打开它进行编辑或回答。
How I can I display data with the dates
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
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.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!