create a table in the live script
86 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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.
1 个评论
Cris LaPierre
2023-1-6
Here's a related question with a similar answer
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 LaTeX 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!