getAlwaysActiveBlocks
Class: Simulink.VariantConfigurationAnalysis
Namespace: Simulink
List of blocks that are always active across named variant configurations
Description
Use this method to find the blocks that are always active across all named
variant configurations after analyzing them using the Simulink.VariantConfigurationAnalysis
class. You must create a variant
configuration analysis object of type Simulink.VariantConfigurationAnalysis
for a model and use it to analyze the
required named variant configurations for that model before calling the getAlwaysActiveBlocks
method.
Note
This method requires Variant Manager for Simulink®.
returns the list of blocks that are always active across all the named variant
configurations that have been analyzed using a
alwaysActiveBlocks
= varConfigObj.getAlwaysActiveBlocks()VariantConfigurationAnalysis
object.
varConfigObj
is the
VariantConfigurationAnalysis
object for a model.
Output Arguments
Examples
Version History
Introduced in R2019a