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 (2021). 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 .
I tried in matlab 2020a but got the following error.
Error using embeddedmethodsviewer/setRefreshCallbacks (line 265)
Java exception occurred:
java.lang.ArrayIndexOutOfBoundsException: No such child: 1
Confirming, unfortunately this does not work in MATLAB 2019b
Does not work at all with Matlab 2015a. It destroys the tabs and throws Java exceptions.
I get a lot of Java warnings + matlab hanging issues with R2013b when it is running. :-(
With older versions like R2011b it works nicely.
Thanks! Such a great tool, way better than the built in class viewer!
It would be great if it would replace the Matlab internal calss viewer.
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!