embeddedmethodsviewer - show functions and methods within matlab editor
Updated 3 Sep 2013
Creates overview of all functions, subfunctions or methods of the currently edited function or class file. For script files the section headlines are drawn. For that, a list below the document bar is generated, which refresh’s automatically while you are typing.
It only works if the position of the document bar is on the right or left side of the editor.
The list of functions is sortable and can be used for navigation. It should help to keep the overview in large projects or class files.
Mouseover gives information about in- and output arguments of the functions and methods.
Furthermore an instance of the currently edited class file is generated in the base workspace, if the constructor can be called with no arguments.
Names of instances are: this, obj (change createInstance_, if necessary)
Please report all bugs found.
If you like the plugin, add 'embeddedmethodsviewer' to your 'startup.m' file
Many thanks to Yair Altman for providing findjobj.
In most cases function needs 'findjobj' from matlabcentral.com:
2013/08/26 - first release
2013/08/30 - resolved problems with r2013b preview, changed way to quit program
Mario Lietz (2023). embeddedmethodsviewer - show functions and methods within matlab editor (https://www.mathworks.com/matlabcentral/fileexchange/43198-embeddedmethodsviewer-show-functions-and-methods-within-matlab-editor), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: findjobj - find java handles of Matlab graphic objects, Colorize Document Bar
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.