| ||||||||||||||||
rsRsiGetCoverageEnabledGet enabled/disabled status of a coverage metric. Syntaxenabled = rsRsiGetCoverageEnabled(rsiId,metricName) Description
rsiId is the identifier of an .rsi file previously opened by rsRsiOpen. Examples>> rsRsiGetCoverageEnabled(rsiId,'Branch') ans = 1 See AlsorsRsiOpen, rsRsiSetCoverageEnabledrsRsiSetCoverageEnabledSet enabled/disabled status of a coverage metric. SyntaxrsRsiSetCoverageEnabled(rsiId,metricName,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. ExamplesrsRsiSetCoverageEnabled(rsiId,'Branch',1) See AlsorsRsiOpen, rsRsiSave, rsRsiGetCoverageEnabledrsRsiGetSystemCoverageTrackingGet coverage tracking status of a subsystem. SyntaxrsRsiGetSystemCoverageTracking(rsiId, systemPath) DescriptionReactis lets you disable coverage tracking for all targets in a given subsystem of the model. See Section Excluding a Subsystem of the Reactis User's Guide for a description of how this feature works. This API function lets you query whether or not coverage tracking for a given subsystem is enabled.
Examples>> rsRsiGetSystemCoverageTracking(rsiId,'cruise/CruiseMain/CruiseMDL/DesiredSpeed') ans = inherited See AlsorsRsiOpen, rsRsiSetSystemCoverageTrackingrsRsiSetSystemCoverageTrackingSet coverage tracking status of a subsystem. SyntaxrsRsiSetSystemCoverageTracking(rsiId, systemPath, enab) DescriptionReactis lets you disable coverage tracking for all targets in a given subsystem of the model. See Section Excluding a Subsystem of the Reactis User's Guide for a description of how this feature works. This API function lets you set whether or not coverage tracking for a given subsystem is enabled.
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. ExamplesrsRsiSetSystemCoverageTracking(rsiId,'cruise/CruiseMain/CruiseMDL/DesiredSpeed', 'disabled') See AlsorsRsiOpen, rsRsiSave, rsRsiGetSystemCoverageTrackingrsRsiSetCumulativeCoverageEnable/Disable cumulative coverage tracking for a library system or referenced model. SyntaxrsRsiSetCumulativeCoverage(rsiId, systemPath, setting) 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, rsRsiIsCumulativeCoverage, rsRsiGetCumulativeCoveragersRsiIsCumulativeCoverageQuery cumulative coverage tracking status for a library system or referenced model. SyntaxrsRsiIsCumulativeCoverage(rsiId, systemPath) Description
See AlsorsRsiOpen, rsRsiSetCumulativeCoverage, rsRsiGetCumulativeCoveragersRsiGetCumulativeCoverageGet a list of systems for which cumulative coverage is enabled. SyntaxrsRsiGetCumulativeCoverage(rsiId) Description
See AlsorsRsiOpen, rsRsiIsCumulativeCoverage, rsRsiSetCumulativeCoverage | ||||||||||||||||