Is it possible to assign a letter to an input command, example A=input('please insert your name')

Respuestas (1)

Star Strider
Star Strider el 23 de Sept. de 2020

0 votos

Yes!
Although for a string input, use the 's' option:
A=input('please insert your name','s')
For what it’s worth, I prefer the inputdlg function to input.

Categorías

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

Preguntada:

el 23 de Sept. de 2020

Respondida:

el 23 de Sept. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by