Main Content

getConfigSet

Class: slreportgen.report.ModelConfiguration
Package: 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

Create an slreportgen.report.ModelConfiguration reporter for the slrgex_sf_car model and then get the active configuration set object associated with the reporter.

model = "slrgex_sf_car";
load_system(model);
reporter = slreportgen.report.ModelConfiguration(model);
configSet = getConfigSet(reporter)
configSet =

	Simulink.ConfigSet
Introduced in R2020b