mklib: a pedestrian function library loader generator
MKLIB takes one or more list(s) of valid M-files and automatically creates a library loader function (M-file), which returns a structure of function handles to all the subfunctions found in those M-files
the structure's field names are set to the name of the subfunctions
this allows a user to directly access individual subfunctions from the parent M-file(s)
note the library does NOT have to be in the ML path after the handles are assigned!
see the accompanying published M-file for an example and look at
help mklib
for more information on handling of nested functions and possible duplicates
Cite As
us (2024). mklib: a pedestrian function library loader generator (https://www.mathworks.com/matlabcentral/fileexchange/7597-mklib-a-pedestrian-function-library-loader-generator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
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.
html/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | changed the RETURN|END engine for the main function body, which should be even more robust; version tag 05-Jan-2006 17:45:18 |