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

 채택된 답변

Walter Roberson
Walter Roberson 2019년 10월 3일

1 개 추천

You accidentally created a variable named input that is interfering with calling input as a function.

댓글 수: 3

David Biwono
David Biwono 2019년 10월 3일
How to check and change it?
clear input
After that check your code to see if you assign anything to a variable named input and if so rename that variable.
David Biwono
David Biwono 2019년 10월 4일
Thank you Walter! It worked!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

질문:

2019년 10월 3일

댓글:

2019년 10월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by