Main Content

Variant Systems

Generate code for dimension, subsystem, and variant models, and for models containing Variant Sink and Variant Source blocks

For models that contain variant blocks or use symbolic dimensions, generate code with preprocessor conditionals. For variant blocks, preprocessor conditionals defer the choice of active variant until compilation time or they do not allow an active variant choice. For symbolic dimensions, preprocessor conditionals define constraints established among symbols during simulation.