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 )

카테고리

도움말 센터File Exchange에서 Low-Level File I/O에 대해 자세히 알아보기

제품

릴리스

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