The input command problem
3 ビュー (過去 30 日間)
古いコメントを表示
Is it possible to assign a letter to an input command, example A=input('please insert your name')
0 件のコメント
回答 (1 件)
Star Strider
2020 年 9 月 23 日
Yes!
Although for a string input, use the 's' option:
A=input('please insert your name','s')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!