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

1 visualización (últimos 30 días)
Nisar Ahmed
Nisar Ahmed el 20 de Oct. de 2020
Respondida: Ameer Hamza el 20 de Oct. de 2020
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');

Respuestas (1)

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

Categorías

Más información sobre Low-Level File I/O en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by