How Do I get Less Digits Reported in a Formal Table Matlab Reporter?

5 ビュー (過去 30 日間)
Joseph Canoy
Joseph Canoy 2021 年 8 月 23 日
回答済み: Rahul Singhal 2021 年 8 月 26 日
I am trying to use Matlab Report Generator to build a report for me. I have a formal table I am trying to make. However, everytime I generate the report, the table shows the values to 15 decimal points. I have been looking for a way to reduce this to only 3 decimal points and haven't been able to figure it out.
Thanks.

回答 (2 件)

Rahul Singhal
Rahul Singhal 2021 年 8 月 26 日
Hi Joseph,
Use mlreportgen.dom.NumberFormat format to specify the formatting of numbers in the report.
-Rahul

dpb
dpb 2021 年 8 月 23 日
<<rptgen format_numbers_in_a_table> is example in the doc for Report Generator.
I don't have it so no experience; it took a search for "formal table" to open up a link; I didn't find anything useful just starting at the top level documentation.
Good luck...

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by