input - request user input
Posted: Fri Feb 17, 2023 8:35 am
Code: Select all
x = input(prompt)
txt = input(prompt,"s")example:
Code: Select all
prompt = "Do you want more? Y/N [Y]: ";
txt = input(prompt,"s");
if isempty(txt)
txt = 'Y';
end