List cells in command window with hyperlinks.

Version 1.1.0.0 (1.6 KB) by Petorr
Copy and paste the contents of this script into a shortcut. Click for a list of cells with links.
183 Downloads
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 (2024). List cells in command window with hyperlinks. (https://www.mathworks.com/matlabcentral/fileexchange/43076-list-cells-in-command-window-with-hyperlinks), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dictionaries in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

cover pic only

1.0.0.0