Undefined function or variable error
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
madhan ravi
am 3 Dez. 2018
'Y' not Y
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!