I currently have the code below, in which the user is asked to enter a task, which then uses the switch statement shown below.
case 'create a file'
fprintf('You have chosen to create a file \n');
fprintf('You have chosen to quit \n');
fprintf('You have entered an action not on the list\n');
fprintf('You will now be directed to the start again to select another action \n');
I was wondering how to loop it back to the beginning and continually ask for the user to input a task and how to exit fully out of the loop if the user enters 'quit'