Embed Child Functions as SubFunctions

Routine for putting dependent subfunctions into one file.


Updated 12 Mar 2010

View License

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.

Cite As

Matthew Anderson (2023). Embed Child Functions as SubFunctions (https://www.mathworks.com/matlabcentral/fileexchange/26938-embed-child-functions-as-subfunctions), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes