Contenido principal

getConfigSet

R2026b

Class: slreportgen.report.ModelConfiguration
Namespace: slreportgen.report

Get active configuration set from model configuration reporter

Syntax

configSetObj = getConfigSet(reporter)

Description

configSetObj = getConfigSet(reporter) returns the Simulink.ConfigSet object that represents the active model configuration set to be reported by the specified slreportgen.report.ModelConfiguration reporter.

Input Arguments

expand all

Model configuration reporter, specified as an slreportgen.report.ModelConfiguration object.

Output Arguments

expand all

Model configuration set object, specified as a Simulink.ConfigSet object.

Examples

expand all

Get the active configuration set object for the sf_car model.

model_name = "sf_car";
openExample(model_name)
reporter = slreportgen.report.ModelConfiguration(model_name);
configSet = getConfigSet(reporter)
configSet = 
  ConfigSet with properties:

    Description: ''
           Name: 'Configuration'

Version History

Introduced in R2020b