I have 2 simulinks models that run perfectly independently. However, once I merge the 2 models (1 acts as a subcomponent in the other), I get the following error: "Model has variant blocks and compilation of model tries to alter the model. With variant blocks, model must be configured before compilation starts."
The error is unspecific about which blocks are variants and which could cause the error. Furthermore, there is no compilation in this simulation.
Please note that I do use PLECS. Could you inform me how can I find these variant blocks? Thank you.