HyperSubFunHelp

版本 1.0.0.0 (5.0 KB) 作者: Mathias Ortner
Display expandable help of nested and subfunctions in an Mfile with recursive behavior
821.0 次下载
更新时间 2007/8/20

无许可证

HYPERSUBFUNHELP displays help of a file with expandable recursive subfunctions help
HYPERSUBFUNHELP(MFILE) displays the help of MFILE with expandable help
for each nested/sub functions that are preceeded by a line of comment
containing the key expression '% Display Help'

A set of links is generated containing the name of a sub functions and a
the h1 line of every subfunction.

The expension of one link results in the following displays:
- a link for retracting the subfunction help,
- the subfunction help,
- links for expanding subfunctions of the current subfunction are
displayed (recursive behavior) provided that the subfunctions are
preceeded by a '% Display Help' Tag.

HYPERSUBFUNHELP(MFILE,'short') does not display the main help.
It is usefull for including a link in an Mfile help that adds links to
subfunction help beneath the main help, without repeating it.

Note 1: The depth parsing of subfunctions is based on the indentation
(spaces). If the mfile is not properly indented, the function might not
work.

引用格式

Mathias Ortner (2024). HyperSubFunHelp (https://www.mathworks.com/matlabcentral/fileexchange/15939-hypersubfunhelp), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 String Parsing 的更多信息
致谢

参考作品: SubFuns

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

It seems there was a problem with the last submission. I hope this one will work....