Main Content

addConfigSet

Add configuration set

Syntax

cgvObj.addConfigSet(configSet)
cgvObj.addConfigSet('configSetName')
cgvObj.addConfigSet('file','configSetFileName')
cgvObj.addConfigSet('file','configSetFileName','variable', 'configSetName')

Description

cgvObj.addConfigSet(configSet) is an optional method that adds the configuration set to the object. cgvObj is a handle to a cgv.CGV object. configSet is a variable that specifies a configuration set.

cgvObj.addConfigSet('configSetName') is an optional method that adds the configuration set to the object. configSetName is a character vector that specifies the name of the configuration set in the workspace.

cgvObj.addConfigSet('file','configSetFileName') is an optional method that adds the configuration set to the object. configSetFileName is a character vector that specifies the name of the file that contains only one configuration set.

cgvObj.addConfigSet('file','configSetFileName','variable', 'configSetName') is an optional method that adds the configuration set to the object. The file contains one or more configuration sets. Specify the name of the configuration set to use.

This method replaces the configuration parameter values in the model with the values from the configuration set that you add. The object applies the configuration set when you call the run method. You can add only one configuration set for each cgv.CGV object.