Invalid file identifier. Use fopen to generate a valid file identifier.

조회 수: 3 (최근 30일)
Kavin Bharathi Vijayakumar
Kavin Bharathi Vijayakumar 2021년 2월 25일
댓글: Walter Roberson 2022년 11월 14일
  댓글 수: 7
the cyclist
the cyclist 2021년 2월 25일
It's not clear to me what the solve_TFB file is expecting, but what you've done here does seem correct. Does
help solve_TFB
provide any information?
By default calling help on a p-file will not provide information, unless they also provided an accompanying m-file with just the help info.
Walter Roberson
Walter Roberson 2021년 2월 25일
File Absatz_Biegung.inp does not exist in the current directory, or cannot be opened.

댓글을 달려면 로그인하십시오.

답변 (1개)

Aditya Jha
Aditya Jha 2022년 11월 14일
Hi!
The problem seems to have occurred because the file does not exist or cannot be opened.Try providing the correct path to the file Absatz_Biegung.inp”.
Even after providing the correct path to input file, if it does not work, then refer to the documentation of fopen and try passing fileID for the inputFile parameter.
  댓글 수: 1
Walter Roberson
Walter Roberson 2022년 11월 14일
Oh and use fullfile() instead of concatenation of character vectors for directory and file name. The \ separator is not valid in Linux or MacOS

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by