Error Reading Data From File
1 回表示 (過去 30 日間)
古いコメントを表示
Dear all,
Please I need advice on the error as stated in the title.
After inputing the coloumn for Matlab to read from the data file it reutrned the error
Error using fgets
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in fgetl (line 32)
[tline,lt] = fgets(fid);
Error in readFmt>fgetlRF (line 347)
out=fgetl(fidIn);
Error in readFmt (line 121)
dataLine=fgetlRF(fidIn); if dataLine==-1, readEndFlag=true; return; end
I would be grateful.
2 件のコメント
KSSV
2020 年 9 月 2 日
Show us the full code which you tried....see to it that file is accessible/ in the same folder for successfull reading. Check the value of fid, it should be greater than 2.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Low-Level File I/O についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!