Main Content

removeContext

Class: mlreportgen.report.Report
Namespace: mlreportgen.report

Remove report context value

Syntax

removeContext(report,key)

Description

removeContext(report,key) removes the specified key from the context along with its value. Use this method to remove report context information you have set previously using the setContext method. The context values and keys are stored in a containers.Map object.

Input Arguments

expand all

Report, specified as a report object. To create the report input, use mlreportgen.report.Report.

Key associated with context value, specified as a numeric, real scalar, string, or cell array.

Version History

Introduced in R2017b