Error using fopen for obj file
Mostra commenti meno recenti
Hi all,
Using MATLAB to open an obj file, fopen is currently throwing up -1: Hence fgets is throwing up an error!
Top level code looks as follows:
modName = 'Slender_solar';
modIn = fullfile(ADBSat_path,'inou','obj_files',[modName,'.obj']);
Then in the import function of the code: Note fileIn is designated as ModIn
fid = fopen(fileIn,'r');
line = fgets(fid);
Any idea of what could be going wrong?
Cheers
2 Commenti
Dyuman Joshi
il 17 Gen 2024
Spostato: Dyuman Joshi
il 24 Gen 2024
Benjamin
il 20 Gen 2024
Spostato: Dyuman Joshi
il 24 Gen 2024
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Large Files and Big Data in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!