Generate Code from Variant Sink and Source Blocks
Variants Sink/Source blocks help you model design choices or considerations and capture them within the same model. You can generate code using embedded coder for the active variant choice or generate preprocessor conditionals that defer the choice of active variant until compilation time.
Published: 23 Feb 2016