Error using fopen for obj file
이전 댓글 표시
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
Dyuman Joshi
2024년 1월 17일
이동: Dyuman Joshi
2024년 1월 24일
Benjamin
2024년 1월 20일
이동: Dyuman Joshi
2024년 1월 24일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Large Files and Big Data에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!