Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

fopen failing with @ or . in filename

1 Ansicht (letzte 30 Tage)
Cagdas Ozgenc
Cagdas Ozgenc am 9 Mär. 2013
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

Antworten (1)

per isakson
per isakson am 9 Mär. 2013
This works for me on R2012a 64bit
>>
>> fid = fopen( 'cssm.@.txt', 'r' );
>> cac = textscan( fid, '%[^\n]' )
cac =
{1x1 cell}
>> cac{:}
ans =
[1x213 char]
>>

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by