| ||||||||||||||||||||||||||||
rsRsiGetConfigVarsReturn configuration variables in the .rsi file. Syntaxnames = rsRsiGetConfigVars(rsiId) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. Examples>> names = rsRsiGetConfigVars(rsi) names = 'InitialSpeed' See AlsorsRsiOpenrsRsiGetConfigVarTypeReturn the type of a configuration variable. SyntaxrsRsiGetConfigVarType(rsiId, varName) rsRsiGetConfigVarType(rsiId, varName, configSetName) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. Examples>> cvt = rsRsiGetConfigVarType(rsiId,'InitialSpeed') cvt = double{10.0, 30.0, 40.0} See AlsorsRsiOpen, rsRsiGetConfigVars, rsRsiSetConfigVarType, rsRsiSetActiveConfigVarSetrsRsiSetConfigVarTypeSet the type of a configuration variable. SyntaxrsRsiSetConfigVarType(rsiId, varName, varType) rsRsiSetConfigVarType(rsiId, varName, varType, configSetName) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. rsRsiSave must be called to save modifications to .rsi file in order for them to be used by subsequent calls to rsSimOpen or rsTester. Updates to .rsi file are not propagated to any running Simulator or Tester sessions. varName must be a configuration variable in the .rsi file. varType must have the same base type (e.g. double, int32, etc...) as workspace variable varName. See Section Type Constraint Syntax of the Reactis User's Guide for a description of the syntax of Reactis type constraints. Raises an error if varType is not valid for the variable. See AlsorsRsiOpen, rsRsiSave, rsRsiGetConfigVars, rsRsiGetConfigVarTypersRsiAddConfigVarAdd a configuration variable to the .rsi file. SyntaxrsRsiAddConfigVar(rsiId, varName) rsRsiAddConfigVar(rsiId, varName, varType) Description
varName must be a workspace variable in the associated model's base workspace. To query a list of valid names use rsRsiGetPotentialConfigVars. varType must have the same base type (e.g. double, int32, etc...) as workspace variable varName. See Section Type Constraint Syntax of the Reactis User's Guide for a description of the syntax of Reactis type constraints. Raises an error if varType is not valid for the variable. rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. See AlsorsRsiOpen, rsRsiRemoveConfigVar, rsRsiGetPotentialConfigVarsrsRsiRemoveConfigVarRemove configuration variable from .rsi file. SyntaxrsRsiRemoveConfigVar(rsiId, varName) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. See AlsorsRsiOpen, rsRsiAddConfigVarrsRsiGetPotentialConfigVarsGet potential configuration variables. SyntaxrsRsiGetPotentialConfigVars(rsiId) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. See AlsorsRsiOpen, rsRsiAddConfigVarrsRsiGetConfigVarSetsReturn names of configuration variable sets in the .rsi file. Syntaxnames = rsRsiGetConfigVarSets(rsiId) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. See AlsorsRsiOpenrsRsiAddConfigVarSetAdd a new configuration variable set to the .rsi file. SyntaxrsRsiAddConfigVarSet(rsiId, configVarSetName) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. See AlsorsRsiOpen, rsRsiRemoveConfigVarSet, rsRsiSetActiveConfigVarSetrsRsiRemoveConfigVarSetRemove a configuration variable set from .rsi file. SyntaxrsRsiRemoveConfigVarSet(rsiId, configVarSetName) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. See AlsorsRsiOpen, rsRsiAddConfigVarSetrsRsiGetConfigVarSetEnabledGet enabled/disabled status of a configuration variable set. Syntaxenab = rsRsiGetConfigVarSetEnabled(rsiId, configVarSetName) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. ExamplesrsRsiGetConfigVarSetEnabled(rsi,'ConfigVarSet1') ans = 1 See AlsorsRsiOpen, rsRsiSetConfigVarSetEnabledrsRsiSetConfigVarSetEnabledSet enabled/disabled status of a configuration variable set. SyntaxrsRsiSetConfigVarSetEnabled(rsiId, configVarSetName, enab) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. rsRsiSave must be called to save modifications to .rsi file in order for them to be used by subsequent calls to rsSimOpen or rsTester. Updates to .rsi file are not propagated to any running Simulator or Tester sessions. See AlsorsRsiOpen, rsRsiSave, rsRsiGetConfigVarSetEnabledrsRsiGetActiveConfigVarSetReturn name of currently active configuration variable set. SyntaxactiveConfigVarSetName = rsRsiGetActiveConfigVarSet(rsiId) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. See AlsorsRsiOpen, rsRsiSetActiveConfigVarSetrsRsiSetActiveConfigVarSetSets the active configuration variable set. SyntaxrsRsiSetActiveConfigVarSet(rsiId, activeConfigVarSetName) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. rsRsiSave must be called to save modifications to .rsi file in order for them to be used by subsequent calls to rsSimOpen or rsTester. Updates to .rsi file are not propagated to any running Simulator or Tester sessions. See AlsorsRsiOpen, rsRsiSave, rsRsiGetActiveConfigVarSet | ||||||||||||||||||||||||||||