Need solution for this error

1 visualizzazione (ultimi 30 giorni)
Olufemi Ologun
Olufemi Ologun il 14 Gen 2022
Modificato: Torsten il 14 Gen 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'

Risposte (1)

Torsten
Torsten il 14 Gen 2022
Modificato: Torsten il 14 Gen 2022
First get a fid to open your file:
fid = fopen( filename )

Prodotti


Release

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by