mklib: a pedestrian function library loader generator

creates a function library loader from a list of m-files (possibly with subfunctions)

您现在正在关注此提交

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

引用格式

us (2026). mklib: a pedestrian function library loader generator (https://ww2.mathworks.cn/matlabcentral/fileexchange/7597-mklib-a-pedestrian-function-library-loader-generator), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Scope Variables and Generate Names 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
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