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

 Respuesta aceptada

Walter Roberson
Walter Roberson el 3 de Oct. de 2019

1 voto

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

3 comentarios

David Biwono
David Biwono el 3 de Oct. de 2019
How to check and change it?
Walter Roberson
Walter Roberson el 3 de Oct. de 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.
David Biwono
David Biwono el 4 de Oct. de 2019
Thank you Walter! It worked!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 3 de Oct. de 2019

Comentada:

el 4 de Oct. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by