a = 0

while a<1
    answer = input('text? (y/n)','s');
    if strcmpi(answer,'y')
        break
    end
end