matlab stop running function
return % Returns control to the invoking script and stops execution of the current script
Source: www.mathworks.com
return % Returns control to the invoking script and stops execution of the current script