Main Content

closeReport

Close MATLAB function report

Since R2021a

    Description

    example

    closeReport(config) closes the MATLAB® function report for a MATLAB Function block.

    Examples

    collapse all

    Access the MATLABFunctionConfiguration object for the MATLAB Function block in the model call_stats_block2 described in Implement MATLAB Functions in Simulink with MATLAB Function Blocks.

    config = get_param("call_stats_block2/MATLAB Function", ...
        "MATLABFunctionConfiguration");

    Open the MATLAB function report.

    openReport(config)

    Close the MATLAB function report.

    closeReport(config)

    Input Arguments

    collapse all

    MATLAB Function block property configuration, specified as a MATLABFunctionConfiguration object.

    Data Types: MATLABFunctionConfiguration

    Version History

    Introduced in R2021a