File Exchange

image thumbnail

embeddedmethodsview​er - show functions and methods within matlab editor

version (9.79 KB) by Mario Lietz
Plugin for the matlab editor, which lists all functions and methods of the currently edited document


Updated 03 Sep 2013

View License

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

2013/08/26 - first release
2013/08/30 - resolved problems with r2013b preview, changed way to quit program

Cite As

Mario Lietz (2020). embeddedmethodsviewer - show functions and methods within matlab editor (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

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

Stefan J.

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.

Andreas J.

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.


Resolved problems with r2013b preview
Changed way to quit program.

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux