% slConfigureVariantGPC - select or unselect the Generate preprocessor conditional setting variant blocks
%
%  slConfigureVariantGPC(systemName,'Enable all') will unselect the
%  'Generate preprocessor conditionals' on all variant blocks.
%
%  slConfigureVariantGPC(systemName,'Disable all') will unselect the
%  'Generate preprocessor conditionals' on all variant blocks.
%
%  After you run slConfigureVariant, you need to save your model(s) and any
%  updated libraries, which are returned in the updatedBlockDiagrams cell.
%
%  Background:
%     Prior to R2015b, Simulation contained a global
%       'Generate preprocessor conditionals'
%     located at:
%         Simulation ->
%           Model Configuration Parameters ->
%             Code Generation (ert.tlc) ->
%               Interface ->
%                 Generate preprocessor conditionals:
%                   'Use local settings'
%                   'Enable all'
%                   'Disable all'
%
%     Prior to R2015b, when the global 'Generate preprocessor conditionals' was
%     set to 'Enable all' or 'Disable all', the global setting would override
%     the local setting 'Generate preprocessor conditionals' on the Variant
%     Subsystem and Variant Model Blocks.  MathWorks removed this global
%     override to improve handling of variant blocks. In particular, not all
%     variant blocks support generation of preprocessor conditionals and thus
%     the 'Enable all' setting could not be used. In addition, in R2015b,
%     MathWorks improved Variant Subsystems to support analysis of all variant
%     choices in any simulation or code generation mode. This ensures there are
%     no unexpected issues when the Simulink Embedded Coder for generating
%     preprocessor conditionals in later development stages.

 
%   Copyright 2015 The MathWorks, Inc.

