Main Content

matlab.codeanalysis.refreshConfiguration

Refresh cached Code Analyzer configuration

Since R2023a

    Description

    matlab.codeanalysis.refreshConfiguration refreshes the cached Code Analyzer configuration.

    The configuration is cached at the start of a MATLAB® session. The MATLAB Editor does not automatically get the latest configuration when you add a new configuration file to a resources folder or update an existing file during a MATLAB session.

    For more information on custom Code Analyzer configuration, see Configure Code Analyzer.

    example

    Examples

    collapse all

    After making changes to codeAnalyzerConfiguration.json inside a resources folder, refresh the cached configuration.

    matlab.codeanalysis.refreshConfiguration
    

    Version History

    Introduced in R2023a