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..

回答 (1 件)

Kevin Phung
Kevin Phung 2019 年 10 月 3 日

0 投票

You probably have a variable that you named 'input'

1 件のコメント

David Biwono
David Biwono 2019 年 10 月 3 日
I don't.. i only type 1 code (the input function) in 1 line and it comes up with an error

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

質問済み:

2019 年 10 月 3 日

コメント済み:

2019 年 10 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by