importdata can't read files with strange extensions

조회 수: 6 (최근 30일)
Max Radin
Max Radin 2012년 6월 15일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by