Need solution for this error

4 visualizaciones (últimos 30 días)
Olufemi Ologun
Olufemi Ologun el 14 de En. de 2022
Editada: Torsten el 14 de En. de 2022
Error using fscanf
Invalid file identifier. Use fopen to generate a valid file identifier.
Error in egm3dinvert (line 42)
bou=fscanf(fid,'%f',[numcolumns numrows]); %open the input gravity file, read it and stores it in variable 'bou'

Respuestas (1)

Torsten
Torsten el 14 de En. de 2022
Editada: Torsten el 14 de En. de 2022
First get a fid to open your file:
fid = fopen( filename )

Categorías

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

Etiquetas

Productos


Versión

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by