I can't read .txt using importdata
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
fauzan hardy
le 30 Juil 2020
Commenté : Star Strider
le 31 Juil 2020
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 commentaires
Réponse acceptée
Star Strider
le 30 Juil 2020
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!