File Exchange

image thumbnail

List cells in command window with hyperlinks.

version (1.6 KB) by Petorr
Copy and paste the contents of this script into a shortcut. Click for a list of cells with links.


Updated 19 Aug 2013

View License

Browse among cells in the editor's current script by inserting this shortcut.
Hyperlinks are inserted to take you from the command window to the corresponding line in the open editor file.

Note: due to different implementations of .getActive() among releases, this may only work in Matlab R2009b.

list_cells.m (a shortcut script)

Usage: copy and paste the entirety of this file
into a new shortcut in your main matlab window.
Name the shortcut to anything.

When you click the shortcut, the command window
will provide a list of your cell titles with
leading hyperlinks (underscored by default).

Cell markup is found by matching the first two
characters of the line with percent signs ('%%').
Leading spaces are removed.
A single trailing colon is removed if found.

Cite As

Petorr (2020). List cells in command window with hyperlinks. (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


cover pic only

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