MATLAB Answers

Why Input function error?

1 view (last 30 days)
David Biwono
David Biwono on 3 Oct 2019
Commented: David Biwono on 3 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..

Answers (1)

Kevin Phung
Kevin Phung on 3 Oct 2019
You probably have a variable that you named 'input'
  1 Comment
David Biwono
David Biwono on 3 Oct 2019
I don't.. i only type 1 code (the input function) in 1 line and it comes up with an error

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!