Why Input function error?

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

0 votes

You probably have a variable that you named 'input'

1 Comment

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.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 3 Oct 2019

Commented:

on 3 Oct 2019

Community Treasure Hunt

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

Start Hunting!