I can't read .txt using importdata
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
When I'm trying to read my .txt file using syntax importdata, i got this notification on my command window.

Same thing happen when I tried to read my .jpg file. Any clues in this problem? It will be really helpful
Thanks
댓글 수: 0
채택된 답변
Star Strider
2020년 7월 30일
You have created your own script and named it ‘importdata.m’. Name your script file something else, such as ‘myImportData.m’ or something that does not ‘overshadow’ any MATLAB function. That should resolve the error.
댓글 수: 2
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!