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

답변 (1개)

Star Strider
Star Strider 2020년 9월 23일

0 개 추천

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.

카테고리

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

질문:

2020년 9월 23일

답변:

2020년 9월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by