request user for input
情報
この質問は閉じられています。 編集または回答するには再度開いてください。
古いコメントを表示
hi!
dont know why I am getting error here, shouldnt i think, its quite a simple syntax:
svar=input('answer yes:y or no:n. ', 's');
Index exceeds matrix dimensions.
3 件のコメント
Muazma Ali
2017 年 12 月 13 日
KL
2017 年 12 月 14 日
No, it's not. Complete error message means all of the red text.
回答 (1 件)
Walter Roberson
2017 年 12 月 14 日
0 投票
You have accidentally created a variable named input so when you think you are calling the function index you are actually trying to access the variable.
0 件のコメント
この質問は閉じられています。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!