getBlockDifferences
Class: Simulink.VariantConfigurationAnalysis
Namespace: Simulink
List of blocks that differ in their active choice between multiple named variant configurations
Description
Use this method to find the blocks that differ in their active choice between
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 getBlockDifferences
method.
Note
This method requires Variant Manager for Simulink®.
returns a list of blocks that are active in some of the analyzed variant
configurations and inactive in other configurations.
getBlockDifferences
= varConfigObj.getBlockDifferences()varConfigObj
is the
VariantConfigurationAnalysis
object for a model.
Output Arguments
Examples
Version History
Introduced in R2019a