I have a while statement at the end of my code asking if they would like to select another choice to repeat the code, however I cannot get it to begin from the beginning of the script again, and so just repeats itself.
function [m] = AnotherTeam
m = input('Do you want to choose a different team, Y/N [Y]:','s');
if m == 'N'
elseif m == 'Y'
[team] = choose_team;
Is there a way to get this to restart the code from a specific point
Many thanks in advance for any feedback