MATLAB Answers

Unable to resolve the name ('Filename')

81 views (last 30 days)
Atakan Ekiz
Atakan Ekiz on 28 Oct 2020
Commented: Fangjun Jiang on 29 Oct 2020 at 13:06
I'm trying to use xlsread or readtable but Matlab cannot read my excel file. I've been looking this issue on internet for 6 hours and this is getting annoying. I couldn't find anything helpful. If anybody could help me I would be appreciated. I'm using Matlab2020b by the way.


Steven Lord
Steven Lord on 28 Oct 2020
What specifically happens when you try to use xlsread or readtable to read your spreadsheet?
  • Do you receive an error and/or a warning message? If so show us the full and exact text of the error or warning message (all the text displayed in red and/or orange) that you receive when you run those commands.
  • Do you receive different results than you expected? If so show us the results you receive and describe the results that you expected, explaining why you believe your expected results are the correct results.
  • Did MATLAB crash or stall when trying to read the data? If it crashed, please contact Technical Support using the link under "My Support" on the Support section of this website and send them the crash log file.
  • Did something else happen? If so please describe what happened in detail.
Please also show us the exact command you're using to try to read the data and indicate which operating system you're using.
Atakan Ekiz
Atakan Ekiz on 28 Oct 2020
All I did was; not using " ' " this. I am sorry to bother here with this tiny mistake. Believe me ı couldnt see what was wrong in my code for a long time. If you can please delete this topic. Thank you for your attention.
Fangjun Jiang
Fangjun Jiang on 29 Oct 2020 at 13:06
This mistake and question happened quite often.

Sign in to comment.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 28 Oct 2020
n_table= readtable('Veri.xlsx')


Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by