Undefined function or variable error
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
madhan ravi
el 3 de Dic. de 2018
'Y' not Y
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!