Undefined function or variable error
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
madhan ravi
le 3 Déc 2018
'Y' not Y
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!