getSyntaxColoredCode
Class: mlreportgen.report.MATLABCode
Namespace: mlreportgen.report
Returns a DOM object containing a syntax-highlighted rendition of the code generated by the MATLABCode reporter
Since R2024b
Syntax
syntaxColoredCode = mlreportgen.report.MATLABCode.getSyntaxColoredCode(reporter,report)
Description
creates a DOM object containing a syntax-highlighted rendition of the code specified by
syntaxColoredCode = mlreportgen.report.MATLABCode.getSyntaxColoredCode(reporter,report)reporter in the report specified by report.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2024b