Why Input function error?
3 views (last 30 days)
Show older comments
David Biwono
on 3 Oct 2019
Commented: David Biwono
on 4 Oct 2019
Recently, i can't use any input function. i don't know why. Anybody could help? Thanks before
First problem:
Code: X=input('number:')
The second one:
Code: X=input('')
Usually, it always work..
0 Comments
Accepted Answer
Walter Roberson
on 3 Oct 2019
You accidentally created a variable named input that is interfering with calling input as a function.
3 Comments
Walter Roberson
on 3 Oct 2019
clear input
After that check your code to see if you assign anything to a variable named input and if so rename that variable.
More Answers (0)
See Also
Categories
Find more on Logical 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!