With variant blocks, model must be configured before compilation starts

2 views (last 30 days)
Hello there,
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.
Zaki
  3 Comments
Zaki
Zaki on 15 Mar 2018
Hello Birdman, I wish I could but I can't. I can only go by descriptions for now.

Sign in to comment.

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!