SubFuns

Command-line utility to list all function declarations within a specified m-file.
3K Downloads
Updated 1 Sep 2016

View License

Editor's Note: This file was a File Exchange Pick of the Week

The MATLAB Editor provides a pull-down tool to Show Functions within an open m-file. But suppose you want to see function decalarations inside an m-file without editing. Perhaps you need to debug GUI callbacks, or understand someone else's function. You may not remember everything in a long list of functions after the Show Functions pull-down disappears. In these situations it would be helpful if the function list would hang around for reference. That's what this utility does.
This utility also highlights some interesting new capabilities of the MATLAB 7 desktop enviroment such as hyperlinks in the Command Window. Also, check out the code for examples of nested functions, block comments, and TODO/FIXME notes.

Cite As

Robert Bemis (2024). SubFuns (https://www.mathworks.com/matlabcentral/fileexchange/5563-subfuns), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Entering Commands in Help Center and MATLAB Answers
Acknowledgements

Inspired: HyperSubFunHelp

Community Treasure Hunt

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

Start Hunting!

SubFuns/

Version Published Release Notes
1.1.0.1

Updated license

1.1.0.0

copyright

1.0.0.0

Bug fix: original errored m-files with only one function declaration. Also added comments and updated description to highlight some new language and desktop features with MATLAB 7 (Release 14).