What does the "Reference to non-existent field" error message mean?
Show older comments
I am investigating why China has inflation, and we Indian students are trying to understand it. The China data we got, and inflation perform in China. So we can take precaution for our county in India too.
I am getting this error and I am not aware that why I am getting such an error. Can anyone guide me please ?


3 Comments
madhan ravi
on 10 Jul 2020
Can you share the screenshot of the contents of the mat file?
vimal kumar chawda
on 10 Jul 2020
vimal kumar chawda
on 10 Jul 2020
Accepted Answer
More Answers (1)
The error message says that there is no field "T11" in (struct-) variable "Input". Set a breakpoint on the respective line and check.
It looks like you edited the script "Func_Task_11" after the error message was thrown, as line 29 in your screenshot is empty. If you didn't edit inbetween, "Func_Task_11.m" might be shadowed by another script of the same name on the matlab-path.
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
