Invalid file identifier. Use fopen to generate a valid file identifier.

1 次查看(过去 30 天)
How to fix this error
Error using fread
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in ReadRSS (line 32)
buff = fread(fileID,MAGICNUMBERLENGTH,'*char')';
Error in Convmod_AkiRich (line 90)
[wavfilt, wavhdr]=ReadRSS('wavfilt.rss');

回答(1 个)

Ameer Hamza
Ameer Hamza 2020-10-20
Try passing file ID to ReadRSS
fid = fopen('wavfilt.rss');
[wavfilt, wavhdr]=ReadRSS(fid);

类别

Help CenterFile 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!

Translated by