Embed Child Functions as SubFunctions
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 (2025). 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
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |