I can't read .txt using importdata

3 Ansichten (letzte 30 Tage)
fauzan hardy
fauzan hardy am 30 Jul. 2020
Kommentiert: Star Strider am 31 Jul. 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

Akzeptierte Antwort

Star Strider
Star Strider am 30 Jul. 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 Kommentare
fauzan hardy
fauzan hardy am 31 Jul. 2020
Thank you for your help.
Star Strider
Star Strider am 31 Jul. 2020
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by