Add an automatic TOC to an .mlx

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!

回答(1 个)

Christine Tobler
Christine Tobler 2021-8-24

0 个投票

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.

类别

在 帮助中心 和 File Exchange 中查找有关 Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by