Undefined function or variable error
古いコメントを表示
option=input('Do you want to continue?(Y/N)','s');
while option == Y
%here comes body of loop
option=input('Do you want to continue?(Y/N)','s');
end
it says undefined function or variable input when I enter Y
採用された回答
その他の回答 (1 件)
madhan ravi
2018 年 12 月 3 日
'Y' not Y
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!