How to get a Table Contents in Live Script .mlx export to HTLM

조회 수: 49 (최근 30일)
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?

채택된 답변

Oliver Kluge
Oliver Kluge 2017년 4월 20일
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.

추가 답변 (1개)

Christine Tobler
Christine Tobler 2021년 8월 24일
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.

카테고리

Help CenterFile Exchange에서 Tables에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by