I have a function with an if statement. The first part of the if statement is recursive, and then the else statement just says to "return". Why do I still appear to be in my function? Why is it not exiting from the "return" function?
MATLAB: Is the recursive function not exiting when I call return
functionMATLABrecursivereturn
Best Answer