How to get a Table Contents in Live Script .mlx export to HTLM
Show older comments
When you Publish a .m script to HTML or PDF yet get a Table of Contents. But when you export a .mlx file to HTLM or PDF you don't get a Table of Contents. Is there a way to get TOC with .mlx files too?
Accepted Answer
More Answers (1)
Christine Tobler
on 24 Aug 2021
2 votes
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 MATLAB Report Generator 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!