Error using input function
10 views (last 30 days)
Show older comments
Jayesh Kamboj
on 11 Sep 2020
Commented: Dr. Kelsey Joy
on 27 Nov 2021
I am receiving an error with MATLAB and I have absolutely no idea why.

MATLAB Version is R2018a.
4 Comments
Dr. Kelsey Joy
on 27 Nov 2021
It's so easy to accidentally create a script file or variable with an existing MATLAB function name. The worse I have ever seen was a student create a created a script file called "edit". Geez that took a LONG time to figure out! lol.
Accepted Answer
madhan ravi
on 11 Sep 2020
You have a custom made function named input() which shadows the inbuilt function. Rename it or remove it from the path.
7 Comments
More Answers (0)
See Also
Categories
Find more on Desktop 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!