How to get a Table Contents in Live Script .mlx export to HTLM
49 views (last 30 days)
Show older comments
Yassamin Jamshidian
on 19 Apr 2017
Answered: Christine Tobler
on 24 Aug 2021
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?
0 Comments
Accepted Answer
Oliver Kluge
on 20 Apr 2017
Up to version R2017a, a Table of Contents is not generated when exporting a live script to HTML or PDF. In other words: Currently, there is no way to get a TOC with .mlx files.
I work for MathWorks and I have forwarded your request to the appropriate product team.
0 Comments
More Answers (1)
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.
0 Comments
See Also
Categories
Find more on Workspace Variables and MAT-Files 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!