I have a main function and several sub-functions that call each other, and the functions need to know if they are being called recursively or not. Is there a way to implement this in MATLAB?
MATLAB: How to have a function check if it is being called recursively
MATLAB
Best Answer