setVariable
Class: sltest.testmanager.TestIteration
Namespace: sltest.testmanager
Set model variable override
Syntax
setVariable(obj,'Name',varName,'Value',value)
setVariable(obj,'Name',varName,,'Value',value,'Source',srcName,'SimulationIndex',simIndex)
Description
setVariable(
sets a model variable override for the test iteration. Specify the obj,'Name',varName,'Value',value)sltest.testmanager.TestIteration object, and then specify the variable
name, and override value. The method overrides the variable in the test iteration and
does not permanently change the model variable.
setVariable(
specifies the optional source and simulation index values for the variable, which
default to obj,'Name',varName,,'Value',value,'Source',srcName,'SimulationIndex',simIndex)1 and '', respectively.
Input Arguments
Examples
Version History
Introduced in R2016a