importdata can't read files with strange extensions
6 views (last 30 days)
Show older comments
I'm trying to use importdata to read a text file with a long extension: 'graphene.pdos_atm#1(C)_wfc#1(s)'
However, this fails with the following error:
??? Error using ==> importdata at 136 Unable to open file.
The problem seems to be associated with the extension, because importdata works fine if the '.' is replaced with another character. It seems like this is a bug in importdata. I realize that I could rename the files, but it would be desirable to have a solution from within MATLAB.
Answers (0)
See Also
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!