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.
更多回答(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!