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

51 vues (au cours des 30 derniers jours)
Kavin Bharathi Vijayakumar
Kavin Bharathi Vijayakumar le 25 Fév 2021
Commenté : Walter Roberson le 14 Nov 2022
  7 commentaires
the cyclist
the cyclist le 25 Fév 2021
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 le 25 Fév 2021
File Absatz_Biegung.inp does not exist in the current directory, or cannot be opened.

Connectez-vous pour commenter.

Réponses (1)

Aditya Jha
Aditya Jha le 14 Nov 2022
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 commentaire
Walter Roberson
Walter Roberson le 14 Nov 2022
Oh and use fullfile() instead of concatenation of character vectors for directory and file name. The \ separator is not valid in Linux or MacOS

Connectez-vous pour commenter.

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by