Main Content

getConfigSet

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

Get active configuration set from model configuration reporter

Since R2020b

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 sf_car model and then get the active configuration set object associated with the reporter.

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

	Simulink.ConfigSet

Version History

Introduced in R2020b