Undefined function or variable error
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
madhan ravi
il 3 Dic 2018
'Y' not Y
Categorie
Scopri di più su Logical in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!