create a table in the live script

70 ビュー (過去 30 日間)
Victor Salit
Victor Salit 2023 年 1 月 6 日
コメント済み: Cris LaPierre 2023 年 1 月 6 日
Hi,
I am documenting a function in the live editor and would like to create a table in the text section, similar to the tables in the matlab documentation. For example the DocPolynom Class Properties table in the https://de.mathworks.com/help/matlab/matlab_oop/a-polynomial-class-1.html

回答 (1 件)

Cris LaPierre
Cris LaPierre 2023 年 1 月 6 日
Currently, the only way to add editable tables to a live script is to use LaTeX. Although this answer is for MATLAB Grader, the same principles apply to creating a table in live scripts using LaTeX
LaTeX tables cannot be formatted like the html tables you reference (color, lines). If that is what you desire, I recommend creating the tables elsewhere, capturing them as images, and inserting the image into your live script.

カテゴリ

Help Center および File ExchangeLaTeX についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by