person_age = input('Please enter persons age')If person_age < 1 errordlg('Please input valid number','Error')end
How do I display this error message and then prompt the user to re-enter the person_age?
Many thanks
error messageMATLAB
person_age = input('Please enter persons age')If person_age < 1 errordlg('Please input valid number','Error')end
while (y ~= 1) || (y ~= 2)
while (y ~= 1) && (y ~= 2)
s=input('genre','s')genre='FfMm'while ismember(s(1),genre) % s is the input
Best Answer