Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
fopen failing with @ or . in filename
조회 수: 1 (최근 30일)
이전 댓글 표시
I am really in trouble. fopen fails to open if filename contains @ symbol or extra . other than the one before file extension. I have so many files to load with these symbols.
I also tried csvread and dlmread, same problem.
Is there any other way to load files in Matlab?
Thanks
댓글 수: 1
답변 (1개)
per isakson
2013년 3월 9일
This works for me on R2012a 64bit
>>
>> fid = fopen( 'cssm.@.txt', 'r' );
>> cac = textscan( fid, '%[^\n]' )
cac =
{1x1 cell}
>> cac{:}
ans =
[1x213 char]
>>
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!