I want to put tables in a report. The table contains a colum of type datetime. Matlab fails to display the datetime and furthermore messes up the the colum headers. Bonus question: How can I remove the quotation marks from the string in the table?
Thanks
Code:
import mlreportgen.report.*import mlreportgen.dom.*R = Report('test', 'pdf');open(R);timeCol = datetime('now');intCol = 1;strCol = "abc";testtable = table(timeCol, intCol, strCol);MT = MATLABTable(testtable);add(R, MT);close(R)
Output:
timeCol intCol
1 "abc"
Best Answer