Add an automatic TOC to an .mlx

11 views (last 30 days)
Nikolai Gerstner
Nikolai Gerstner on 16 Feb 2019
Answered: Christine Tobler on 24 Aug 2021
Hi guys,
can someone help, how to create a TOC (Table of Contents) that automatically fills and updates itself with the titles added in the live script?
Thanks a lot!

Answers (1)

Christine Tobler
Christine Tobler on 24 Aug 2021
You can go the "Insert" tab (just to the right of where it says "Live Editor" on top of the MATLAB window) and there's a button there to add a table of contents.
This works in R2021a, I'm not sure when it was introduced.

Categories

Find more on Tables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!