Need solution for this error

조회 수: 1 (최근 30일)
Olufemi Ologun
Olufemi Ologun 2022년 1월 14일
편집: Torsten 2022년 1월 14일
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일
First get a fid to open your file:
fid = fopen( filename )

카테고리

Help CenterFile Exchange에서 Low-Level File I/O에 대해 자세히 알아보기

태그

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by