If you are like me you have lots of functions in MATLAB that you use all of the time to build more complicated functions. Then somebody wants that complicated function and you have to package up the necessary sub-routines, etc. This routine I made to help me gather my sub-routines as sub-functions embedded in the parent function. Allowing me to share only the necessary sub-functions and allowing the receiving person to only have one file to manage which they often find easier to handle.
Matthew Anderson (2021). Embed Child Functions as SubFunctions (https://www.mathworks.com/matlabcentral/fileexchange/26938-embed-child-functions-as-subfunctions), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!