Need solution for this error

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'

回答 (1 件)

Torsten
Torsten 2022 年 1 月 14 日
編集済み: Torsten 2022 年 1 月 14 日

0 投票

First get a fid to open your file:
fid = fopen( filename )

カテゴリ

製品

リリース

R2015b

タグ

質問済み:

2022 年 1 月 14 日

編集済み:

2022 年 1 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by