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

Antworten (1)

Star Strider
Star Strider am 23 Sep. 2020

0 Stimmen

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.

Kategorien

Mehr zu App Building finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 23 Sep. 2020

Beantwortet:

am 23 Sep. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by